src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
*** old/src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp Mon Nov 12 10:52:08 2012
--- new/src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp Mon Nov 12 10:52:08 2012
*** 1351,1361 ****
--- 1351,1361 ----
#endif // PRODUCT
}
#ifndef PRODUCT
// for debugging, bit of a hack...
- static char*
region_num_to_mbs(int length) {
static char buffer[64];
double bytes = (double) (length * HeapRegion::GrainBytes);
double mbs = bytes / (double) (1024 * 1024);
sprintf(buffer, "%7.2lfMB", mbs);
src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File