hotspot/src/share/vm/gc_interface/collectedHeap.hpp
changeset 29803 6e259ffa8b72
parent 29081 c61eb4914428
child 29808 9bbc65318fdd
equal deleted inserted replaced
29802:d485440c958a 29803:6e259ffa8b72
   289 
   289 
   290   bool is_in_closed_subset_or_null(const void* p) const {
   290   bool is_in_closed_subset_or_null(const void* p) const {
   291     return p == NULL || is_in_closed_subset(p);
   291     return p == NULL || is_in_closed_subset(p);
   292   }
   292   }
   293 
   293 
   294 #ifdef ASSERT
       
   295   // Returns true if "p" is in the part of the
       
   296   // heap being collected.
       
   297   virtual bool is_in_partial_collection(const void *p) = 0;
       
   298 #endif
       
   299 
       
   300   // An object is scavengable if its location may move during a scavenge.
   294   // An object is scavengable if its location may move during a scavenge.
   301   // (A scavenge is a GC which is not a full GC.)
   295   // (A scavenge is a GC which is not a full GC.)
   302   virtual bool is_scavengable(const void *p) = 0;
   296   virtual bool is_scavengable(const void *p) = 0;
   303 
   297 
   304   void set_gc_cause(GCCause::Cause v) {
   298   void set_gc_cause(GCCause::Cause v) {