src/hotspot/share/gc/z/zHeap.cpp
changeset 50584 0eae3ed86296
parent 50525 767cdb97f103
child 50871 d283a214f42b
equal deleted inserted replaced
50583:f0ff230e2546 50584:0eae3ed86296
   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 }