我正在使用JProfiler分析我的应用程序以解决高CPU使用率的问题。在用户登录时,CPU使用率是100%(在服务器上)。所以我开始了对我的应用程序进行剖析。
我在堆转储中找到了以下查询字符串。不仅这4个查询,转储中有数百个类似的查询。
我在堆转储中找到了以下查询字符串。不仅这4个查询,转储中有数百个类似的查询。
java.lang.String (0x3262b1) ["/* load com.v4common.shared.beans.transaction.ControlTransaction */ select controltra0_.id as id47_48_, controltra0_.form_transaction_id as form2_47_48_, controltra0_.string_value as string3_47_48_, c"] 129 kB (0 %)
java.lang.String (0x310b2f) ["/* load com.v4common.shared.beans.transaction.ReportTransaction */ select reporttran0_.id as id158_45_, reporttran0_.report_id as report2_158_45_, reporttran0_.norm_id as norm3_158_45_, reporttran0_.d"] 124 kB (0 %)
java.lang.String (0x312222) ["/* load com.v4common.shared.beans.transaction.ReportItemTransaction */ select reportitem0_.id as id160_41_, reportitem0_.report_structure as report2_160_41_, reportitem0_.grid_row_criteria as grid3_16"] 110 kB (0 %)
java.lang.String (0x30c104) ["/* load com.v4common.shared.beans.Reports.EsenderCSReport */ select esendercsr0_.id as id117_36_, esendercsr0_.name as name117_36_, esendercsr0_.report_type as report3_117_36_, esendercsr0_.is_show_pr"] 94,248 bytes (0 %)
java.lang.String (0x30d1dc) ["/* load com.v4common.shared.beans.Reports.ReportStructure */ select reportstru0_.id as id120_35_, reportstru0_.name as name120_35_, reportstru0_.xml as xml120_35_, reportstru0_.esender_format as esend"] 90,736 bytes (0 %)
我只是登入系统,完全没有操作豆子的动作,但我却可以在dumps中看到它们。
有任何想法为什么这些字符串会在dump中出现?
甚至这行代码是什么意思呢?