[11] RFR(XS) 8196726: compiler/inlining/InlineAccessors.java test failed
Vladimir Kozlov
vladimir.kozlov at oracle.com
Sat Feb 3 02:24:23 UTC 2018
https://bugs.openjdk.java.net/browse/JDK-8196726
http://hg.openjdk.java.net/jdk/hs/file/5bce1b7e7800/test/hotspot/jtreg/compiler/inlining/InlineAccessors.java
Remove -Xcomp flag from test command. It can lead to failure due to inconsistent compilation result.
diff -r 19ef3f64bc10 test/hotspot/jtreg/compiler/inlining/InlineAccessors.java
--- a/test/hotspot/jtreg/compiler/inlining/InlineAccessors.java
+++ b/test/hotspot/jtreg/compiler/inlining/InlineAccessors.java
@@ -43,7 +43,7 @@
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(
"-XX:+IgnoreUnrecognizedVMOptions", "-showversion",
- "-server", "-XX:-TieredCompilation", "-Xbatch", "-Xcomp",
+ "-server", "-XX:-TieredCompilation", "-Xbatch",
"-XX:+PrintCompilation", "-XX:+UnlockDiagnosticVMOptions", "-XX:+PrintInlining",
Launcher.class.getName());
Even without -Xcomp compilation will be triggered because method is call >10000 times and -Xbatch
flag is used.
Tested with JDK 10 and 11.
Thanks,
Vladimir
More information about the hotspot-compiler-dev
mailing list