From aab0ce5f1ce929d96bc02aec644c42834ec3c19c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Per=20Lid=C3=A9n?= Date: Mon, 24 Feb 2020 11:01:51 +0100 Subject: [PATCH] 8239533: ZGC: Make the ZProactive flag non-diagnostic Reviewed-by: eosterlund, stefank --- src/hotspot/share/gc/z/z_globals.hpp | 6 +++--- test/hotspot/jtreg/gc/z/TestHighUsage.java | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/hotspot/share/gc/z/z_globals.hpp b/src/hotspot/share/gc/z/z_globals.hpp index 6a1fee8d540..7c8435d21cd 100644 --- a/src/hotspot/share/gc/z/z_globals.hpp +++ b/src/hotspot/share/gc/z/z_globals.hpp @@ -51,6 +51,9 @@ experimental(uint, ZCollectionInterval, 0, \ "Force GC at a fixed time interval (in seconds)") \ \ + experimental(bool, ZProactive, true, \ + "Enable proactive GC cycles") \ + \ experimental(bool, ZUncommit, true, \ "Uncommit unused memory") \ \ @@ -62,9 +65,6 @@ "Time between statistics print outs (in seconds)") \ range(1, (uint)-1) \ \ - diagnostic(bool, ZProactive, true, \ - "Enable proactive GC cycles") \ - \ diagnostic(bool, ZVerifyViews, false, \ "Verify heap view accesses") \ \ diff --git a/test/hotspot/jtreg/gc/z/TestHighUsage.java b/test/hotspot/jtreg/gc/z/TestHighUsage.java index b1dbbd12b5f..93880e546b3 100644 --- a/test/hotspot/jtreg/gc/z/TestHighUsage.java +++ b/test/hotspot/jtreg/gc/z/TestHighUsage.java @@ -87,7 +87,6 @@ public class TestHighUsage { public static void main(String[] args) throws Exception { ProcessTools.executeTestJvm(new String[]{ "-XX:+UnlockExperimentalVMOptions", "-XX:+UseZGC", - "-XX:+UnlockDiagnosticVMOptions", "-XX:-ZProactive", "-Xms128M", "-Xmx128M",