-
Notifications
You must be signed in to change notification settings - Fork 767
Set known object index for condy and method type table entry symrefs #22235
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
Conversation
@hzongaro, could you please review? |
These symbols satisfy isFixedObjectRef(), allowing in some circumstances for the JIT to attempt to load and dereference them at compile time. Soon the compiler will start to keep track within each compilation of where each known object was found, and having known object indices for these symrefs will facilitate the tracking. The dereferencing paths also handle known objects. They need to be aware of isFixedObjectRef() only because there are some for which the known object index is missing. So setting known object indices on these symrefs as appropriate will allow that code to be simplified (as a follow-up).
Updated to use |
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. Thanks!
Jenkins test sanity.functional,sanity.openjdk all jdk8,jdk17,jdk21 |
The 64-bit Windows JDK21 build failure is #17693 Jenkins test sanity.functional,sanity.openjdk win jdk21 |
Test_openjdk8_j9_sanity.functional_x86-32_windows_Personal: cmdLineTester_J9securityTests_SE80_0 failed with Test_openjdk21_j9_sanity.functional_s390x_linux_Personal: Known issue #13684
|
All tests have passed except for the aforementioned known issues |
These symbols satisfy
isFixedObjectRef()
, allowing in some circumstances for the JIT to attempt to load and dereference them at compile time. Soon the compiler will start to keep track within each compilation of where each known object was found, and having known object indices for these symrefs will facilitate the tracking. The dereferencing paths also handle known objects. They need to be aware ofisFixedObjectRef()
only because there are some for which the known object index is missing. So setting known object indices on these symrefs as appropriate will allow that code to be simplified (as a follow-up).