Mercurial > hg > graal-compiler
diff src/share/vm/gc_implementation/g1/heapRegionSet.hpp @ 20295:3f2894c5052e
8048112: G1 Full GC needs to support the case when the very first region is not available
Summary: Refactor preparation for compaction during Full GC so that it lazily initializes the first compaction point. This also avoids problems later when the first region may not be committed. Also reviewed by K. Barrett.
Reviewed-by: brutisso
author | tschatzl |
---|---|
date | Mon, 21 Jul 2014 10:00:31 +0200 |
parents | 78bbf4d43a14 |
children | 6701abbc4441 |
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/g1/heapRegionSet.hpp Mon Jul 21 09:59:54 2014 +0200 +++ b/src/share/vm/gc_implementation/g1/heapRegionSet.hpp Mon Jul 21 10:00:31 2014 +0200 @@ -119,7 +119,7 @@ public: const char* name() { return _name; } - uint length() { return _count.length(); } + uint length() const { return _count.length(); } bool is_empty() { return _count.length() == 0; }