src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/ProgressiveHeapVisitor.java
equal
deleted
inserted
replaced
48 |
48 |
49 public void prologue(long usedSize) { |
49 public void prologue(long usedSize) { |
50 this.usedSize = usedSize; |
50 this.usedSize = usedSize; |
51 visitedSize = 0; |
51 visitedSize = 0; |
52 userHeapVisitor.prologue(usedSize); |
52 userHeapVisitor.prologue(usedSize); |
|
53 thunk.heapIterationFractionUpdate(0.0); |
53 } |
54 } |
54 |
55 |
55 public boolean doObj(Oop obj) { |
56 public boolean doObj(Oop obj) { |
56 userHeapVisitor.doObj(obj); |
57 userHeapVisitor.doObj(obj); |
57 visitedSize += obj.getObjectSize(); |
58 visitedSize += obj.getObjectSize(); |