< prev index next >

src/share/vm/gc/g1/heapRegion.hpp

Print this page
rev 13365 : [mq]: review_update_1

@@ -432,10 +432,12 @@
 
   // An archive region is a pinned region, also tagged as old, which
   // should not be marked during mark/sweep. This allows the address
   // space to be shared by JVM instances.
   bool is_archive() const { return _type.is_archive(); }
+  bool is_open_archive()   const { return _type.is_open_archive(); }
+  bool is_closed_archive() const { return _type.is_closed_archive(); }
 
   // For a humongous region, region in which it starts.
   HeapRegion* humongous_start_region() const {
     return _humongous_start_region;
   }

@@ -616,13 +618,15 @@
 
   void set_eden();
   void set_eden_pre_gc();
   void set_survivor();
 
+  void move_to_old();
   void set_old();
 
-  void set_archive();
+  void set_open_archive();
+  void set_closed_archive();
 
   // Determine if an object has been allocated since the last
   // mark performed by the collector. This returns true iff the object
   // is within the unmarked area of the region.
   bool obj_allocated_since_prev_marking(oop obj) const {
< prev index next >