reproducible compiler issue with latest jdk9

Robert Muir rcmuir at gmail.com
Tue Jun 9 02:13:24 UTC 2015


If it helps, -XX:-DoEscapeAnalysis is enough to make the test pass
(and make lucene tests go green)

On Mon, Jun 8, 2015 at 9:24 PM, Robert Muir <rcmuir at gmail.com> wrote:
> Hello,
>
> I think we found something in lucene testing when testing the latest
> java 9 ea B27.
> It also fails with latest tip.
>
> See the following test case: http://pastebin.com/U3TCFGNu
>
> It passes with -Xint and will fail otherwise:
>
> rmuir at beast:~$ java -version
> openjdk version "1.9.0-internal"
> OpenJDK Runtime Environment (build 1.9.0-internal-rmuir_2015_06_08_18_48-b00)
> OpenJDK 64-Bit Server VM (build
> 1.9.0-internal-rmuir_2015_06_08_18_48-b00, mixed mode)
> rmuir at beast:~$ java ShouldWork
> Exception in thread "main" java.lang.AssertionError: expected=mklefvn, actual=m
>     at ShouldWork.main(ShouldWork.java:20)
> rmuir at beast:~$ java -Xint ShouldWork
> rmuir at beast:~$


More information about the hotspot-compiler-dev mailing list