-
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
Fix failures in Condy Test #3089
Conversation
Thanks a lot @fjeremic for helping in identifying the issue. I have added gcOnResolve variation to Condy Primitive tests and also updated asm-7.0 Snapshot URL with fixing the bug. Can you please review the fix? |
@@ -1816,7 +1819,8 @@ ZZ is address of resolved constant dynamic | |||
ZZ into the Literal Pool | |||
L_GPR r1,eq_literalPoolAddr_inDataSnippet(r14) | |||
ST_GPR r2,0(,r1) | |||
|
|||
ZZ Restore All the registers |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comment is unnecessary as this can be implied by the macro name.
Not sure the asm update belongs here. |
I think it's required for the tests to run. If you download OpenJ9 in its current state and run
Edit: @gacholio see #2995 for more info. I don't think we currently have an alternative as we need an asm.jar library which can generate condy bytecodes and currently there is no stable build to pick from. |
OK - I despise outside dependencies, and this one seems especially fragile. |
Jenkins test sanity zlinux JDK11 |
We won't be able to get this fix through because of a blocker introduced in #3060. I'll submit a fix shortly but I don't see this merging until tomorrow I guess. |
Failing with this error :
Looks like changes in f162480#diff-fb760b6229b99d4b3e151c756ce8f033 not behaving well with the build (Build runs with |
When GC kicks in when constant dynamic object is resolved, VM helper code expects all the registers are stored on Java Stack and while resolving frames it takes this adjustment into account while building frames. Condy Test was failing as it was not storing registers on Java Stack producing corrupted stack frame. Fixes: eclipse-openj9#3082 Signed-off-by: Rahil Shah <rahil@ca.ibm.com>
Signed-off-by: Rahil Shah <rahil@ca.ibm.com>
Fix got merged in #3090. Kicking builds off again: Jenkins test sanity zlinux JDK11 |
Jenkins test sanity zlinux JDK11 |
When GC kicks in when constant dynamic object is resolved, VM helper code expects all the registers are stored on Java Stack and while resolving frames it takes this adjustment into account while building frames. Condy Test was failing as it was not storing registers on Java Stack producing corrupted stack frame.
Fixes: #3082
Signed-off-by: Rahil Shah rahil@ca.ibm.com