reproducible compiler issue with latest jdk9

Rory O'Donnell rory.odonnell at oracle.com
Tue Jun 9 07:39:47 UTC 2015


Hi Robert,

Could you please log a bug at bugs.java.com, and let us know what issue 
ID you receive.

Rgds,Rory

On 09/06/2015 03:13, Robert Muir wrote:
> 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:~$

-- 
Rgds,Rory O'Donnell
Quality Engineering Manager
Oracle EMEA , Dublin, Ireland



More information about the hotspot-compiler-dev mailing list