--- old/src/share/vm/gc/g1/heapRegion.hpp 2015-05-27 14:30:57.916056039 -0400 +++ new/src/share/vm/gc/g1/heapRegion.hpp 2015-05-27 14:30:57.320022081 -0400 @@ -331,6 +331,7 @@ } static size_t max_region_size(); + static size_t min_region_size_in_words(); // It sets up the heap region size (GrainBytes / GrainWords), as // well as other related fields that are based on the heap region @@ -417,6 +418,9 @@ bool is_old() const { return _type.is_old(); } + bool is_pinned() const { return _type.is_pinned(); } + bool is_archive() const { return _type.is_archive(); } + // For a humongous region, region in which it starts. HeapRegion* humongous_start_region() const { return _humongous_start_region; @@ -670,6 +674,8 @@ void set_old() { _type.set_old(); } + void set_archive() { _type.set_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.