hotspot/src/share/vm/gc/g1/heapRegion.hpp
changeset 46810 7dad333205cd
parent 46750 bcab0128a16f
--- a/hotspot/src/share/vm/gc/g1/heapRegion.hpp	Mon Aug 14 16:48:44 2017 +0200
+++ b/hotspot/src/share/vm/gc/g1/heapRegion.hpp	Mon Aug 14 14:32:17 2017 -0400
@@ -433,7 +433,9 @@
   // 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_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 {
@@ -618,9 +620,11 @@
   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