Skip to content
Permalink
Browse files
8273959: Some metaspace diagnostic switches should be develop
Reviewed-by: dholmes, jiefu
  • Loading branch information
tstuefe committed Sep 20, 2021
1 parent dc7f452 commit d2388b7a0f4bfb55ea0d5648175e3253f30a4302
Showing 2 changed files with 5 additions and 5 deletions.
@@ -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, \
@@ -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
*/


1 comment on commit d2388b7

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on d2388b7 Sep 20, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.