< prev index next >

src/hotspot/share/gc/shenandoah/shenandoahArguments.cpp

Print this page

        

@@ -137,15 +137,10 @@
       warning("AlwaysPreTouch is enabled, disabling ShenandoahUncommit");
     }
     FLAG_SET_DEFAULT(ShenandoahUncommit, false);
   }
 
-  if ((InitialHeapSize == MaxHeapSize) && ShenandoahUncommit) {
-    log_info(gc)("Min heap equals to max heap, disabling ShenandoahUncommit");
-    FLAG_SET_DEFAULT(ShenandoahUncommit, false);
-  }
-
   // If class unloading is disabled, no unloading for concurrent cycles as well.
   // If class unloading is enabled, users should opt-in for unloading during
   // concurrent cycles.
   if (!ClassUnloading || !FLAG_IS_CMDLINE(ClassUnloadingWithConcurrentMark)) {
     log_info(gc)("Consider -XX:+ClassUnloadingWithConcurrentMark if large pause times "
< prev index next >