mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8048112: G1 Full GC needs to support the case when the very first region is not available
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
This commit is contained in:
parent
ce1a131e47
commit
bc56e061ec
7 changed files with 44 additions and 45 deletions
|
@ -119,7 +119,7 @@ protected:
|
|||
public:
|
||||
const char* name() { return _name; }
|
||||
|
||||
uint length() { return _count.length(); }
|
||||
uint length() const { return _count.length(); }
|
||||
|
||||
bool is_empty() { return _count.length() == 0; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue