equal
deleted
inserted
replaced
51 OutputAnalyzer output = new OutputAnalyzer(pb.start()); |
51 OutputAnalyzer output = new OutputAnalyzer(pb.start()); |
52 output.shouldContain("Narrow klass base: 0x0000000000000000"); |
52 output.shouldContain("Narrow klass base: 0x0000000000000000"); |
53 output.shouldHaveExitValue(0); |
53 output.shouldHaveExitValue(0); |
54 } |
54 } |
55 |
55 |
56 public static void smallHeapTestWith3G() throws Exception { |
56 public static void smallHeapTestWith1G() throws Exception { |
57 ProcessBuilder pb = ProcessTools.createJavaProcessBuilder( |
57 ProcessBuilder pb = ProcessTools.createJavaProcessBuilder( |
58 "-XX:+UnlockDiagnosticVMOptions", |
58 "-XX:+UnlockDiagnosticVMOptions", |
59 "-XX:CompressedClassSpaceSize=3g", |
59 "-XX:CompressedClassSpaceSize=1g", |
60 "-Xmx128m", |
60 "-Xmx128m", |
61 "-Xlog:gc+metaspace=trace", |
61 "-Xlog:gc+metaspace=trace", |
62 "-Xshare:off", |
62 "-Xshare:off", |
63 "-Xlog:cds=trace", |
63 "-Xlog:cds=trace", |
64 "-XX:+VerifyBeforeGC", "-version"); |
64 "-XX:+VerifyBeforeGC", "-version"); |
147 if (name.equals("5.10")) { |
147 if (name.equals("5.10")) { |
148 throw new SkippedException("Solaris 10 can't mmap compressed oops space without a base"); |
148 throw new SkippedException("Solaris 10 can't mmap compressed oops space without a base"); |
149 } |
149 } |
150 } |
150 } |
151 smallHeapTest(); |
151 smallHeapTest(); |
152 smallHeapTestWith3G(); |
152 smallHeapTestWith1G(); |
153 largeHeapTest(); |
153 largeHeapTest(); |
154 largePagesTest(); |
154 largePagesTest(); |
155 heapBaseMinAddressTest(); |
155 heapBaseMinAddressTest(); |
156 sharingTest(); |
156 sharingTest(); |
157 } |
157 } |