-
Notifications
You must be signed in to change notification settings - Fork 733
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JDK 8/11/17/18 - JVM crash due to JIT compilation with ArrayIndexOutOfBoundsException #17212
Comments
I can readily reproduce this failure with
The instructions that are dumped out in the jitdump end like this:
Running in Brad @BradleyWood, may I ask you to take a look at this problem? |
I am nearly certain it is a duplicate of #15363 |
I tried out this test with the fix from @BradleyWood in OMR pull request eclipse-omr/omr#6937, and it appears to resolve the problem. I'll leave this open until that pull request is merged. |
Duplicate of #15363 |
This problem should be fixed by OMR pull request eclipse-omr/omr#6937 from @BradleyWood, which was very recently merged. |
System / OS / Java Runtime Information
Java version
Operating system details
Description
JVM crashes with JIT enabled when running the following program. The bug affects openj9jdk18.0.2+9, openj9jdk17.0.6+10, openj9jdk11.0.18+10, and openj9jdk8u362-b09. The bug is reproduced on the hot, veryhot, scorching, and default (no option) optlevels.
Steps to reproduce
The following steps shows how to reproduce the bug on JDK 17.0.6.0 in a Ubuntu Linux environment.
Compile
Execute
Note that occasionally the error takes a few runs of the program to reproduce.
Source code for an executable test case
Workaround
Disable JIT.
Additional Info
javacore and snap logs attached.
The text was updated successfully, but these errors were encountered: