-
Notifications
You must be signed in to change notification settings - Fork 738
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
JIT Assertion failure when compiling with debug enabled. #2088
Comments
FYI @babsingh |
@pdbain-ibm yesterday, i was able to successfully build Java 8. i am re-building Java 9 on my end to reproduce the issue. did u see "OpenJ9 Compile Complete" message? if so, OpenJ9 has finished compilation and other Java tools are being built using the VM. this may be a bug in JIT code. JIT debug symbols and assertions can be avoided by |
No, I did not. It seems to be blowing up while building DDR:
FYI @fjeremic could you have someone on the JIT team triage this? I can provide core dumps etc. |
@jdmpapin / @andrewcraik crashes in VP on x86. Seems like your area of expertise. |
i encountered the same issue while compiling Java 9. |
i have verified that Java 8 compiles fine with the |
@andrewcraik, unfortunately the Assert in J9TransformUtil.cpp:374 prevents us from doing DEBUG build. Could somebody take a look at it? |
@liqunl do you have a fix for this as part of other work you are doing? If not could you get a fix for this since you are looking in this area. |
Sorry, I didn't know it is crashing. @pdbain-ibm Do you have a jitdump or trace log from the failure? |
I think it's 100% reproducible following the instructions in the OP. |
@liqunl Sorry, the dumps are long gone. I suggest you follows the instructions to reproduce in |
@liqunl |
Assertion is not needed in calculating the field address because the field has been verified by verifyFieldAccess. Fixes: eclipse-openj9#2088 Signed-off-by: Liqun Liu <liqunl@ca.ibm.com>
To reproduce,
I checked out the OpenJDK 9 with OpenJ9 project per
https://www.eclipse.org/openj9/oj9_build.html
Enabled debugging per https://blog.openj9.org/2018/06/05/debugging-openj9-in-docker-with-gdb/
I get a compilation failure:
The text was updated successfully, but these errors were encountered: