Skip to content

Commit d2388b7

Browse files
committed
8273959: Some metaspace diagnostic switches should be develop
Reviewed-by: dholmes, jiefu
1 parent dc7f452 commit d2388b7

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/hotspot/share/runtime/globals.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1435,10 +1435,10 @@ const intx ObjectAlignmentInBytes = 8;
14351435
product(bool, PrintMetaspaceStatisticsAtExit, false, DIAGNOSTIC, \
14361436
"Print metaspace statistics upon VM exit.") \
14371437
\
1438-
product(bool, MetaspaceGuardAllocations, false, DIAGNOSTIC, \
1438+
develop(bool, MetaspaceGuardAllocations, false, \
14391439
"Metapace allocations are guarded.") \
14401440
\
1441-
product(bool, MetaspaceHandleDeallocations, true, DIAGNOSTIC, \
1441+
develop(bool, MetaspaceHandleDeallocations, true, \
14421442
"Switch off Metapace deallocation handling.") \
14431443
\
14441444
product(uintx, MinHeapFreeRatio, 40, MANAGEABLE, \

test/hotspot/jtreg/gtest/MetaspaceGtests.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
* java.xml
3838
* @requires vm.debug
3939
* @requires vm.flagless
40-
* @run main/native GTestWrapper --gtest_filter=metaspace* -XX:MetaspaceReclaimPolicy=none -XX:+UnlockDiagnosticVMOptions -XX:VerifyMetaspaceInterval=3
40+
* @run main/native GTestWrapper --gtest_filter=metaspace* -XX:MetaspaceReclaimPolicy=none -XX:VerifyMetaspaceInterval=3
4141
*/
4242

4343
/* @test id=reclaim-none-ndebug
@@ -62,7 +62,7 @@
6262
* java.xml
6363
* @requires vm.debug
6464
* @requires vm.flagless
65-
* @run main/native GTestWrapper --gtest_filter=metaspace* -XX:MetaspaceReclaimPolicy=aggressive -XX:+UnlockDiagnosticVMOptions -XX:VerifyMetaspaceInterval=3
65+
* @run main/native GTestWrapper --gtest_filter=metaspace* -XX:MetaspaceReclaimPolicy=aggressive -XX:VerifyMetaspaceInterval=3
6666
*/
6767

6868
/* @test id=reclaim-aggressive-ndebug
@@ -86,7 +86,7 @@
8686
* java.xml
8787
* @requires vm.debug
8888
* @requires vm.flagless
89-
* @run main/native GTestWrapper --gtest_filter=metaspace* -XX:+UnlockDiagnosticVMOptions -XX:VerifyMetaspaceInterval=3 -XX:+MetaspaceGuardAllocations
89+
* @run main/native GTestWrapper --gtest_filter=metaspace* -XX:VerifyMetaspaceInterval=3 -XX:+MetaspaceGuardAllocations
9090
*/
9191

9292

0 commit comments

Comments
 (0)