changeset 47665:74805fccc6ae

8149137: Remove _DISABLE_MMU define from G1MMUTracker Reviewed-by: ehelin, sjohanss Contributed-by: Leo Korinth <leo.korinth@oracle.com>
author ehelin
date Thu, 19 Oct 2017 14:36:40 +0200
parents 3f1d3f8c8407
children 19219ec3f176
files src/hotspot/share/gc/g1/g1MMUTracker.cpp
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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);