Mercurial > hg > truffle
comparison test/runtime/CompressedOops/CompressedClassPointers.java @ 14657:4adcdd3ccb66
8036547: test/runtime/CompressedOops/CompressedClassPointers.java fails with product build since -XX:+PrintMiscellaneous is a debug only flag
Summary: Use PrintCompressedOopsMode and these other flags that match printing compressed oop information
Reviewed-by: ctornqvi, sla
author | coleenp |
---|---|
date | Tue, 04 Mar 2014 09:57:16 -0500 |
parents | de7f1b016d55 |
children | 92aa6797d639 |
comparison
equal
deleted
inserted
replaced
14655:7380034e5b31 | 14657:4adcdd3ccb66 |
---|---|
81 } | 81 } |
82 | 82 |
83 public static void heapBaseMinAddressTest() throws Exception { | 83 public static void heapBaseMinAddressTest() throws Exception { |
84 ProcessBuilder pb = ProcessTools.createJavaProcessBuilder( | 84 ProcessBuilder pb = ProcessTools.createJavaProcessBuilder( |
85 "-XX:HeapBaseMinAddress=1m", | 85 "-XX:HeapBaseMinAddress=1m", |
86 "-XX:+PrintMiscellaneous", | 86 "-XX:+UnlockDiagnosticVMOptions", |
87 "-XX:+Verbose", | 87 "-XX:+PrintCompressedOopsMode", |
88 "-version"); | 88 "-version"); |
89 OutputAnalyzer output = new OutputAnalyzer(pb.start()); | 89 OutputAnalyzer output = new OutputAnalyzer(pb.start()); |
90 output.shouldContain("HeapBaseMinAddress must be at least"); | 90 output.shouldContain("HeapBaseMinAddress must be at least"); |
91 output.shouldContain("HotSpot"); | 91 output.shouldContain("HotSpot"); |
92 output.shouldHaveExitValue(0); | 92 output.shouldHaveExitValue(0); |