changeset 18999 | a05f689a6c0c |
parent 18439 | 725ce18186b3 |
child 19339 | d247781beec7 |
--- a/hotspot/src/share/vm/gc_implementation/g1/heapRegion.cpp Thu Aug 01 07:03:07 2013 +0200 +++ b/hotspot/src/share/vm/gc_implementation/g1/heapRegion.cpp Thu Aug 01 09:35:04 2013 +0200 @@ -314,6 +314,11 @@ region_size = MAX_REGION_SIZE; } + if (region_size != G1HeapRegionSize) { + // Update the flag to make sure that PrintFlagsFinal logs the correct value + FLAG_SET_ERGO(uintx, G1HeapRegionSize, region_size); + } + // And recalculate the log. region_size_log = log2_long((jlong) region_size);