8149137: Remove _DISABLE_MMU define from G1MMUTracker
authorehelin
Thu, 19 Oct 2017 14:36:40 +0200
changeset 47665 74805fccc6ae
parent 47664 3f1d3f8c8407
child 47666 19219ec3f176
8149137: Remove _DISABLE_MMU define from G1MMUTracker Reviewed-by: ehelin, sjohanss Contributed-by: Leo Korinth <leo.korinth@oracle.com>
src/hotspot/share/gc/g1/g1MMUTracker.cpp
--- a/src/hotspot/share/gc/g1/g1MMUTracker.cpp	Fri Oct 20 01:40:08 2017 +0000
+++ b/src/hotspot/share/gc/g1/g1MMUTracker.cpp	Thu Oct 19 14:36:40 2017 +0200
@@ -29,8 +29,6 @@
 #include "runtime/mutexLocker.hpp"
 #include "utilities/ostream.hpp"
 
-#define _DISABLE_MMU                             0
-
 // can't rely on comparing doubles with tolerating a small margin for error
 #define SMALL_MARGIN 0.0000001
 #define is_double_leq_0(_value) ( (_value) < SMALL_MARGIN )
@@ -119,9 +117,6 @@
 // of other places (debugging)
 
 double G1MMUTrackerQueue::when_sec(double current_time, double pause_time) {
-  if (_DISABLE_MMU)
-    return 0.0;
-
   MutexLockerEx x(MMUTracker_lock, Mutex::_no_safepoint_check_flag);
   remove_expired_entries(current_time);