Mercurial > hg > graal-compiler
comparison test/gc/class_unloading/TestCMSClassUnloadingEnabledHWM.java @ 20330:8a7429682242
8055275: Several gc/class_unloading/ tests fail due to missed +UnlockDiagnosticVMOptions flag
Reviewed-by: mgerdin, jwilhelm
author | stefank |
---|---|
date | Mon, 18 Aug 2014 14:12:48 +0200 |
parents | f3aeae1f9fc5 |
children | 85f4c4ecc963 |
comparison
equal
deleted
inserted
replaced
20329:fb971e09d20f | 20330:8a7429682242 |
---|---|
43 private static long YoungGenSize = 32 * 1024 * 1024; | 43 private static long YoungGenSize = 32 * 1024 * 1024; |
44 | 44 |
45 private static OutputAnalyzer run(boolean enableUnloading) throws Exception { | 45 private static OutputAnalyzer run(boolean enableUnloading) throws Exception { |
46 ProcessBuilder pb = ProcessTools.createJavaProcessBuilder( | 46 ProcessBuilder pb = ProcessTools.createJavaProcessBuilder( |
47 "-Xbootclasspath/a:.", | 47 "-Xbootclasspath/a:.", |
48 "-XX:+UnlockDiagnosticVMOptions", | |
48 "-XX:+WhiteBoxAPI", | 49 "-XX:+WhiteBoxAPI", |
49 "-XX:MetaspaceSize=" + MetaspaceSize, | 50 "-XX:MetaspaceSize=" + MetaspaceSize, |
50 "-Xmn" + YoungGenSize, | 51 "-Xmn" + YoungGenSize, |
51 "-XX:+UseConcMarkSweepGC", | 52 "-XX:+UseConcMarkSweepGC", |
52 "-XX:" + (enableUnloading ? "+" : "-") + "CMSClassUnloadingEnabled", | 53 "-XX:" + (enableUnloading ? "+" : "-") + "CMSClassUnloadingEnabled", |