comparison test/gc/g1/TestSummarizeRSetStatsTools.java @ 20222:0abcece2ee27

8026847: [TESTBUG] gc/g1/TestSummarizeRSetStats* tests launch 32bit jvm with UseCompressedOops Summary: The test launched a 32 bit VM with UseCompressedOops enabled. This is not supported on 32 bit VMs, causing a test failure. Investigation showed that the use of this flag is not required at all, so simply remove it. Reviewed-by: tschatzl, jwilhelm Contributed-by: Andrey Zakharov <andrey.x.zakharov@oracle.com>
author tschatzl
date Mon, 21 Jul 2014 09:40:19 +0200
parents c319b188c7b2
children
comparison
equal deleted inserted replaced
20221:ab5fbf410512 20222:0abcece2ee27
86 86
87 public static String runTest(String[] additionalArgs, int numGCs) throws Exception { 87 public static String runTest(String[] additionalArgs, int numGCs) throws Exception {
88 ArrayList<String> finalargs = new ArrayList<String>(); 88 ArrayList<String> finalargs = new ArrayList<String>();
89 String[] defaultArgs = new String[] { 89 String[] defaultArgs = new String[] {
90 "-XX:+UseG1GC", 90 "-XX:+UseG1GC",
91 "-XX:+UseCompressedOops",
92 "-Xmn4m", 91 "-Xmn4m",
93 "-Xmx20m", 92 "-Xmx20m",
94 "-XX:InitiatingHeapOccupancyPercent=100", // we don't want the additional GCs due to initial marking 93 "-XX:InitiatingHeapOccupancyPercent=100", // we don't want the additional GCs due to initial marking
95 "-XX:+PrintGC", 94 "-XX:+PrintGC",
96 "-XX:+UnlockDiagnosticVMOptions", 95 "-XX:+UnlockDiagnosticVMOptions",