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:
John Cuthbertson 2011-11-18 12:27:10 -08:00
parent 6d0e0064bf
commit a03f061ca2
2 changed files with 51 additions and 70 deletions

View file

@ -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() {