src/hotspot/share/gc/shared/collectedHeap.hpp
changeset 59153 1152339c298a
parent 59053 ba6c248cae19
equal deleted inserted replaced
59152:59272e9e0635 59153:1152339c298a
   385   virtual GrowableArray<MemoryPool*> memory_pools() = 0;
   385   virtual GrowableArray<MemoryPool*> memory_pools() = 0;
   386 
   386 
   387   // Iterate over all objects, calling "cl.do_object" on each.
   387   // Iterate over all objects, calling "cl.do_object" on each.
   388   virtual void object_iterate(ObjectClosure* cl) = 0;
   388   virtual void object_iterate(ObjectClosure* cl) = 0;
   389 
   389 
   390   // Similar to object_iterate() except iterates only
       
   391   // over live objects.
       
   392   virtual void safe_object_iterate(ObjectClosure* cl) = 0;
       
   393 
       
   394   // Returns the longest time (in ms) that has elapsed since the last
   390   // Returns the longest time (in ms) that has elapsed since the last
   395   // time that any part of the heap was examined by a garbage collection.
   391   // time that any part of the heap was examined by a garbage collection.
   396   virtual jlong millis_since_last_gc() = 0;
   392   virtual jlong millis_since_last_gc() = 0;
   397 
   393 
   398   // Perform any cleanup actions necessary before allowing a verification.
   394   // Perform any cleanup actions necessary before allowing a verification.