[11] RFR(XS) 8196726: compiler/inlining/InlineAccessors.java test failed
Tobias Hartmann
tobias.hartmann at oracle.com
Mon Feb 5 06:16:26 UTC 2018
Hi Vladimir,
looks good to me.
Best regards,
Tobias
On 03.02.2018 03:24, Vladimir Kozlov wrote:
> 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