diff --git a/src/hotspot/share/runtime/globals.hpp b/src/hotspot/share/runtime/globals.hpp index a1d30d694d1..d98d0ad5226 100644 --- a/src/hotspot/share/runtime/globals.hpp +++ b/src/hotspot/share/runtime/globals.hpp @@ -1435,10 +1435,10 @@ const intx ObjectAlignmentInBytes = 8; product(bool, PrintMetaspaceStatisticsAtExit, false, DIAGNOSTIC, \ "Print metaspace statistics upon VM exit.") \ \ - product(bool, MetaspaceGuardAllocations, false, DIAGNOSTIC, \ + develop(bool, MetaspaceGuardAllocations, false, \ "Metapace allocations are guarded.") \ \ - product(bool, MetaspaceHandleDeallocations, true, DIAGNOSTIC, \ + develop(bool, MetaspaceHandleDeallocations, true, \ "Switch off Metapace deallocation handling.") \ \ product(uintx, MinHeapFreeRatio, 40, MANAGEABLE, \ diff --git a/test/hotspot/jtreg/gtest/MetaspaceGtests.java b/test/hotspot/jtreg/gtest/MetaspaceGtests.java index bf0b3746cc4..75cb7fe52fc 100644 --- a/test/hotspot/jtreg/gtest/MetaspaceGtests.java +++ b/test/hotspot/jtreg/gtest/MetaspaceGtests.java @@ -37,7 +37,7 @@ * java.xml * @requires vm.debug * @requires vm.flagless - * @run main/native GTestWrapper --gtest_filter=metaspace* -XX:MetaspaceReclaimPolicy=none -XX:+UnlockDiagnosticVMOptions -XX:VerifyMetaspaceInterval=3 + * @run main/native GTestWrapper --gtest_filter=metaspace* -XX:MetaspaceReclaimPolicy=none -XX:VerifyMetaspaceInterval=3 */ /* @test id=reclaim-none-ndebug @@ -62,7 +62,7 @@ * java.xml * @requires vm.debug * @requires vm.flagless - * @run main/native GTestWrapper --gtest_filter=metaspace* -XX:MetaspaceReclaimPolicy=aggressive -XX:+UnlockDiagnosticVMOptions -XX:VerifyMetaspaceInterval=3 + * @run main/native GTestWrapper --gtest_filter=metaspace* -XX:MetaspaceReclaimPolicy=aggressive -XX:VerifyMetaspaceInterval=3 */ /* @test id=reclaim-aggressive-ndebug @@ -86,7 +86,7 @@ * java.xml * @requires vm.debug * @requires vm.flagless - * @run main/native GTestWrapper --gtest_filter=metaspace* -XX:+UnlockDiagnosticVMOptions -XX:VerifyMetaspaceInterval=3 -XX:+MetaspaceGuardAllocations + * @run main/native GTestWrapper --gtest_filter=metaspace* -XX:VerifyMetaspaceInterval=3 -XX:+MetaspaceGuardAllocations */