--- a/hotspot/src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp Fri Aug 14 13:44:15 2009 -0700
+++ b/hotspot/src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp Wed Aug 19 12:53:25 2009 -0400
@@ -927,7 +927,6 @@
TraceTime t(full ? "Full GC (System.gc())" : "Full GC", PrintGC, true, gclog_or_tty);
double start = os::elapsedTime();
- GCOverheadReporter::recordSTWStart(start);
g1_policy()->record_full_collection_start();
gc_prologue(true);
@@ -1049,7 +1048,6 @@
}
double end = os::elapsedTime();
- GCOverheadReporter::recordSTWEnd(end);
g1_policy()->record_full_collection_end();
#ifdef TRACESPINNING
@@ -1610,9 +1608,6 @@
// Do later initialization work for concurrent refinement.
_cg1r->init();
- const char* group_names[] = { "CR", "ZF", "CM", "CL" };
- GCOverheadReporter::initGCOverheadReporter(4, group_names);
-
return JNI_OK;
}
@@ -2431,8 +2426,6 @@
}
g1_policy()->print_yg_surv_rate_info();
- GCOverheadReporter::printGCOverhead();
-
SpecializationStats::print();
}
@@ -2669,7 +2662,6 @@
// The elapsed time induced by the start time below deliberately elides
// the possible verification above.
double start_time_sec = os::elapsedTime();
- GCOverheadReporter::recordSTWStart(start_time_sec);
size_t start_used_bytes = used();
g1_policy()->record_collection_pause_start(start_time_sec,
@@ -2798,7 +2790,6 @@
double end_time_sec = os::elapsedTime();
double pause_time_ms = (end_time_sec - start_time_sec) * MILLIUNITS;
g1_policy()->record_pause_time_ms(pause_time_ms);
- GCOverheadReporter::recordSTWEnd(end_time_sec);
g1_policy()->record_collection_pause_end(abandoned);
assert(regions_accounted_for(), "Region leakage.");