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! |
dsouzai
left a comment
There was a problem hiding this comment.
Overall looks good to me; minor change requested.
hzongaro
left a comment
There was a problem hiding this comment.
Looks good. Just a couple of minor suggestions.
1353049 to
013aa3e
Compare
dsouzai
left a comment
There was a problem hiding this comment.
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_RelocationRecordStaticDefaultValueInstanceto materialize the default value instance slot address on AOT load.
Depends on
Signed-off-by: Annabelle Huo Annabelle.Huo@ibm.com