equal
deleted
inserted
replaced
502 ZStatHeap::set_at_relocate_end(capacity(), allocated(), reclaimed(), |
502 ZStatHeap::set_at_relocate_end(capacity(), allocated(), reclaimed(), |
503 used(), used_high(), used_low()); |
503 used(), used_high(), used_low()); |
504 } |
504 } |
505 |
505 |
506 void ZHeap::object_iterate(ObjectClosure* cl) { |
506 void ZHeap::object_iterate(ObjectClosure* cl) { |
507 // Should only be called in a safepoint after mark end. |
|
508 assert(SafepointSynchronize::is_at_safepoint(), "Should be at safepoint"); |
507 assert(SafepointSynchronize::is_at_safepoint(), "Should be at safepoint"); |
509 |
508 |
510 ZHeapIterator iter; |
509 ZHeapIterator iter; |
511 iter.objects_do(cl); |
510 iter.objects_do(cl); |
512 } |
511 } |