在hprof的结果中`accum`字段的含义是什么?

时间:2016-01-28 07:38:24

标签: java hprof

当我使用选项运行java时:

-agentlib:hprof=cpu=times

hprof的结果如下:

CPU TIME (ms) BEGIN (total = 3093024) Thu Jan 28 14:57:36 2016
rank   self   accum    count trace  method
1      35.81% 35.81%       6 328434 java.util.concurrent.locks.LockSupport.park
2      28.04% 63.85%      68 330338 java.util.concurrent.locks.LockSupport.park
3      11.04% 74.88%   59675 326270 sun.nio.ch.EPollArrayWrapper.poll

我想知道accum提交的意思是什么?

感谢。

1 个答案:

答案 0 :(得分:1)

hprof CPU TIMES中所述:

accum: includes the time for the entries that appear above this one in the list. The last entry will have an accum of 100%