8273959: Some metaspace diagnostic switches should be develop

Reviewed-by: dholmes, jiefu
This commit is contained in:
Thomas Stuefe 2021-09-20 08:46:44 +00:00
parent dc7f452acb
commit d2388b7a0f
2 changed files with 5 additions and 5 deletions

View File

@ -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, \

View File

@ -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
*/