equal
deleted
inserted
replaced
88 usage += type.getMemoryPool().getUsage().getUsed(); |
88 usage += type.getMemoryPool().getUsage().getUsed(); |
89 } |
89 } |
90 return usage; |
90 return usage; |
91 } |
91 } |
92 private void guaranteedSweep() { |
92 private void guaranteedSweep() { |
93 // not entrant -> ++stack_traversal_mark -> zombie -> reclamation -> flushed |
93 // not entrant -> ++stack_traversal_mark -> zombie -> flushed |
94 for (int i = 0; i < 5; ++i) { |
94 for (int i = 0; i < 5; ++i) { |
95 WHITE_BOX.fullGC(); |
95 WHITE_BOX.fullGC(); |
96 WHITE_BOX.forceNMethodSweep(); |
96 WHITE_BOX.forceNMethodSweep(); |
97 } |
97 } |
98 } |
98 } |