hotspot/src/share/vm/gc/g1/heapRegion.hpp
changeset 38183 cb68e4923223
parent 38154 4c30333c304e
child 39698 4016de4e596b
equal deleted inserted replaced
38173:73d05e56ec86 38183:cb68e4923223
   265   // represented as linked lists through the field below.  Currently, there
   265   // represented as linked lists through the field below.  Currently, there
   266   // is only one set:
   266   // is only one set:
   267   //   The collection set.
   267   //   The collection set.
   268   HeapRegion* _next_in_special_set;
   268   HeapRegion* _next_in_special_set;
   269 
   269 
   270   // next region in the young "generation" region set
       
   271   HeapRegion* _next_young_region;
       
   272 
       
   273   // Fields used by the HeapRegionSetBase class and subclasses.
   270   // Fields used by the HeapRegionSetBase class and subclasses.
   274   HeapRegion* _next;
   271   HeapRegion* _next;
   275   HeapRegion* _prev;
   272   HeapRegion* _prev;
   276 #ifdef ASSERT
   273 #ifdef ASSERT
   277   HeapRegionSetBase* _containing_set;
   274   HeapRegionSetBase* _containing_set;
   521 
   518 
   522   // containing_set() is only used in asserts so there's no reason
   519   // containing_set() is only used in asserts so there's no reason
   523   // to provide a dummy version of it.
   520   // to provide a dummy version of it.
   524 #endif // ASSERT
   521 #endif // ASSERT
   525 
   522 
   526   HeapRegion* get_next_young_region() { return _next_young_region; }
       
   527   void set_next_young_region(HeapRegion* hr) {
       
   528     _next_young_region = hr;
       
   529   }
       
   530 
   523 
   531   // Reset HR stuff to default values.
   524   // Reset HR stuff to default values.
   532   void hr_clear(bool par, bool clear_space, bool locked = false);
   525   void hr_clear(bool par, bool clear_space, bool locked = false);
   533   void par_clear();
   526   void par_clear();
   534 
   527