Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
8273959: Some metaspace diagnostic switches should be develop
Reviewed-by: dholmes, jiefu
  • Loading branch information
tstuefe committed Sep 20, 2021
1 parent dc7f452 commit d2388b7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/hotspot/share/runtime/globals.hpp
Expand Up @@ -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, \
Expand Down
6 changes: 3 additions & 3 deletions test/hotspot/jtreg/gtest/MetaspaceGtests.java
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
*/


Expand Down

1 comment on commit d2388b7

@openjdk-notifier
Copy link

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.