-
Notifications
You must be signed in to change notification settings - Fork 721
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
Load default value instance if the class is initialized #15666
Load default value instance if the class is initialized #15666
Conversation
This PR has dependency on eclipse-omr/omr#6641 and should be reviewed together with it |
@dsouzai @hzongaro May I ask you to review this change along with eclipse-omr/omr#6641? Thank you! |
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.
Overall looks good to me; minor change requested.
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.
Looks good. Just a couple of minor suggestions.
1353049
to
013aa3e
Compare
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.
Sorry, I missed this one issue earlier so requested the change now.
ILGen: - aconst_init: Load the default value instance if the class is initialized. This enhancement can be disabled by setting env variable `TR_DisableLoadStaticDefaultValueInstance`. SymRef: - Create symbol reference for default value instance of value class. AOT (X86): - Add new relocation record `TR_RelocationRecordStaticDefaultValueInstance` to materialize the default value instance slot address on AOT load. Signed-off-by: Annabelle Huo <Annabelle.Huo@ibm.com>
013aa3e
to
38b00cb
Compare
Removed |
AOT changes look good to me. @hzongaro do you mind being committer for this one? |
Jenkins test sanity all jdk17 |
@hzongaro For this PR, JDKNext standard and JDKNext valhalla should be tested as well. You probably already plan to do so. Just a reminder |
Jenkins test sanity,extended xlinuxval jdknext |
xlinuxval build failure appears to be unrelated to this pull request. |
Jenkins test sanity+aot xlinux jdknext |
Jenkins test sanity,extended xlinuxval jdknext |
ILGen:
by setting env variable
TR_DisableLoadStaticDefaultValueInstance
.SymRef:
AOT (X86):
TR_RelocationRecordStaticDefaultValueInstance
to materialize the default value instance slot address on AOT load.
Depends on
Signed-off-by: Annabelle Huo Annabelle.Huo@ibm.com