--- old/src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp 2012-11-12 10:52:08.292659762 -0800 +++ new/src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp 2012-11-12 10:52:08.020663181 -0800 @@ -1353,7 +1353,7 @@ #ifndef PRODUCT // for debugging, bit of a hack... -static char* +char* region_num_to_mbs(int length) { static char buffer[64]; double bytes = (double) (length * HeapRegion::GrainBytes);