< prev index next >
src/hotspot/share/gc/shenandoah/shenandoahArguments.cpp
Print this page
rev 59422 : 8245754: Shenandoah: ditch ShenandoahAlwaysPreTouch
Reviewed-by: XXX
rev 59424 : 8245757: Shenandoah: AlwaysPreTouch should not disable heap resizing or uncommits
Reviewed-by: XXX
@@ -146,17 +146,10 @@
// Record more information about previous cycles for improved debugging pleasure
if (FLAG_IS_DEFAULT(LogEventsBufferEntries)) {
FLAG_SET_DEFAULT(LogEventsBufferEntries, 250);
}
- if (AlwaysPreTouch) {
- if (!FLAG_IS_DEFAULT(ShenandoahUncommit)) {
- 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);
}
< prev index next >