st->print(" [" PTR_FORMAT ", " PTR_FORMAT ", " PTR_FORMAT ")",
p2i(_hrm.reserved().start()),
p2i(_hrm.reserved().start() + _hrm.length() + HeapRegion::GrainWords),
p2i(_hrm.reserved().end()));
The second value should be the amount of committed regions but it adds the heap region size instead of multiplying by the heap region size.
p2i(_hrm.reserved().start()),
p2i(_hrm.reserved().start() + _hrm.length() + HeapRegion::GrainWords),
p2i(_hrm.reserved().end()));
The second value should be the amount of committed regions but it adds the heap region size instead of multiplying by the heap region size.
- duplicates
-
JDK-8189169 G1CollectedHeap::print_on prints wrong value
-
- Closed
-