changeset 9693:bf85ad40fbbe

8141394: Remove the instrumentation added by JDK-6898948 Reviewed-by: tschatzl, pliden
author brutisso
date Thu, 05 Nov 2015 08:48:45 +0100
parents d5ced966d3fa
children 1b9a3ab2af04
files src/share/vm/gc/g1/g1CollectorPolicy.cpp src/share/vm/gc/g1/g1_globals.hpp
diffstat 2 files changed, 0 insertions(+), 17 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/gc/g1/g1CollectorPolicy.cpp	Thu Nov 05 05:31:57 2015 +0000
+++ b/src/share/vm/gc/g1/g1CollectorPolicy.cpp	Thu Nov 05 08:48:45 2015 +0100
@@ -1037,19 +1037,6 @@
     _recent_avg_pause_time_ratio = _recent_gc_times_ms->sum()/interval_ms;
     if (recent_avg_pause_time_ratio() < 0.0 ||
         (recent_avg_pause_time_ratio() - 1.0 > 0.0)) {
-#ifndef PRODUCT
-      // Dump info to allow post-facto debugging
-      gclog_or_tty->print_cr("recent_avg_pause_time_ratio() out of bounds");
-      gclog_or_tty->print_cr("-------------------------------------------");
-      gclog_or_tty->print_cr("Recent GC Times (ms):");
-      _recent_gc_times_ms->dump();
-      gclog_or_tty->print_cr("(End Time=%3.3f) Recent GC End Times (s):", end_time_sec);
-      _recent_prev_end_times_for_all_gcs_sec->dump();
-      gclog_or_tty->print_cr("GC = %3.3f, Interval = %3.3f, Ratio = %3.3f",
-                             _recent_gc_times_ms->sum(), interval_ms, recent_avg_pause_time_ratio());
-      // In debug mode, terminate the JVM if the user wants to debug at this point.
-      assert(!G1FailOnFPError, "Debugging data for CR 6898948 has been dumped above");
-#endif  // !PRODUCT
       // Clip ratio between 0.0 and 1.0, and continue. This will be fixed in
       // CR 6902692 by redoing the manner in which the ratio is incrementally computed.
       if (_recent_avg_pause_time_ratio < 0.0) {
--- a/src/share/vm/gc/g1/g1_globals.hpp	Thu Nov 05 05:31:57 2015 +0000
+++ b/src/share/vm/gc/g1/g1_globals.hpp	Thu Nov 05 08:48:45 2015 +0100
@@ -228,10 +228,6 @@
   develop(bool, G1HRRSFlushLogBuffersOnVerify, false,                       \
           "Forces flushing of log buffers before verification.")            \
                                                                             \
-  develop(bool, G1FailOnFPError, false,                                     \
-          "When set, G1 will fail when it encounters an FP 'error', "       \
-          "so as to allow debugging")                                       \
-                                                                            \
   product(size_t, G1HeapRegionSize, 0,                                      \
           "Size of the G1 regions.")                                        \
           range(0, 32*M)                                                    \