Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
The nightly build (jdk-9+181-20 on January 22 2018) has different behaviors on Xcomp and default mode. #997
The nightly build (jdk-9+181-20 on January 22 2018 Linux x64) has different behaviors on Xcomp and default mode.
The head of OpenJDK throws an exception.
Oracle JDK 9 throws an exception.
OpenJDK 8 also throws an exception.
referenced this issue
Jan 22, 2018
@andrewcraik Sorry, this may not be an issue. It seems that the optimization of OpenJ9 removes the unused allocation, while HotSpot does not.
The JVM specification specifies that
Thanks for the interesting test case @tianxiaogu This may need some thought.
Trivial cases have the expected behaviour, e.g.
gives the expected
@JamesKingdon interesting - the main issue will likely be that we can't tell that the float is negative. A compile log will be necessary. It would be good to confirm the opt level this failed at and, if it is a cold compile, see what happens in the warm compile. Regardless, there is a bug to be fixed here.