Mercurial > hg > truffle
comparison test/runtime/CompressedOops/CompressedKlassPointerAndOops.java @ 12226:7944aba7ba41
8015107: NPG: Use consistent naming for metaspace concepts
Reviewed-by: coleenp, mgerdin, hseigel
author | ehelin |
---|---|
date | Mon, 12 Aug 2013 17:37:02 +0200 |
parents | 81e0f17ade64 |
children |
comparison
equal
deleted
inserted
replaced
12186:313b724f8911 | 12226:7944aba7ba41 |
---|---|
23 | 23 |
24 /* | 24 /* |
25 * @test | 25 * @test |
26 * @bug 8000968 | 26 * @bug 8000968 |
27 * @key regression | 27 * @key regression |
28 * @summary NPG: UseCompressedKlassPointers asserts with ObjectAlignmentInBytes=32 | 28 * @summary NPG: UseCompressedClassPointers asserts with ObjectAlignmentInBytes=32 |
29 * @library /testlibrary | 29 * @library /testlibrary |
30 */ | 30 */ |
31 | 31 |
32 import com.oracle.java.testlibrary.*; | 32 import com.oracle.java.testlibrary.*; |
33 | 33 |
50 private static void runWithAlignment(int alignment) throws Exception { | 50 private static void runWithAlignment(int alignment) throws Exception { |
51 ProcessBuilder pb; | 51 ProcessBuilder pb; |
52 OutputAnalyzer output; | 52 OutputAnalyzer output; |
53 | 53 |
54 pb = ProcessTools.createJavaProcessBuilder( | 54 pb = ProcessTools.createJavaProcessBuilder( |
55 "-XX:+UseCompressedKlassPointers", | 55 "-XX:+UseCompressedClassPointers", |
56 "-XX:+UseCompressedOops", | 56 "-XX:+UseCompressedOops", |
57 "-XX:ObjectAlignmentInBytes=" + alignment, | 57 "-XX:ObjectAlignmentInBytes=" + alignment, |
58 "-version"); | 58 "-version"); |
59 | 59 |
60 output = new OutputAnalyzer(pb.start()); | 60 output = new OutputAnalyzer(pb.start()); |