mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
7111795: G1: Various cleanups identified during walk through of changes for 6484965
Various cleanups and formatting changes identified during a code walk through of the changes for 6484965 ("G1: piggy-back liveness accounting phase on marking"). Reviewed-by: brutisso, tonyp
This commit is contained in:
parent
6d0e0064bf
commit
a03f061ca2
2 changed files with 51 additions and 70 deletions
|
@ -416,7 +416,7 @@ class HeapRegion: public G1OffsetTableContigSpace {
|
|||
|
||||
void add_to_marked_bytes(size_t incr_bytes) {
|
||||
_next_marked_bytes = _next_marked_bytes + incr_bytes;
|
||||
guarantee( _next_marked_bytes <= used(), "invariant" );
|
||||
assert(_next_marked_bytes <= used(), "invariant" );
|
||||
}
|
||||
|
||||
void zero_marked_bytes() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue