Mercurial > hg > truffle
diff 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 |
line wrap: on
line diff
--- a/test/runtime/CompressedOops/CompressedClassPointers.java Mon Mar 03 13:58:52 2014 -0500 +++ b/test/runtime/CompressedOops/CompressedClassPointers.java Tue Mar 04 09:57:16 2014 -0500 @@ -83,8 +83,8 @@ public static void heapBaseMinAddressTest() throws Exception { ProcessBuilder pb = ProcessTools.createJavaProcessBuilder( "-XX:HeapBaseMinAddress=1m", - "-XX:+PrintMiscellaneous", - "-XX:+Verbose", + "-XX:+UnlockDiagnosticVMOptions", + "-XX:+PrintCompressedOopsMode", "-version"); OutputAnalyzer output = new OutputAnalyzer(pb.start()); output.shouldContain("HeapBaseMinAddress must be at least");