Skip to content
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

Modify compile-time static field ref resolution #20847

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cjjdespres
Copy link
Contributor

The existing code was introduced to improve the relocation success rate for AOT compilations that track dependencies, by attempting to resolve static field refs in jitGetClassOfFieldFromCP if they were not already resolved. This has introduced a regression in comp CPU for AOT stores, so the attempted field resolution has now been moved to the relevant record validation function to avoid this defect.

The existing code was introduced to improve the relocation success rate
for AOT compilations that track dependencies, by attempting to resolve
static field refs in jitGetClassOfFieldFromCP if they were not already
resolved. This has introduced a regression in comp CPU for AOT stores,
so the attempted field resolution has now been moved to the relevant
record validation function to avoid this defect.

Signed-off-by: Christian Despres <[email protected]>
@cjjdespres cjjdespres requested a review from dsouzai as a code owner December 17, 2024 20:26
@cjjdespres
Copy link
Contributor Author

Attn @mpirvu. This should address the issue mentioned in #20770 (comment).

Copy link
Contributor

@mpirvu mpirvu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mpirvu mpirvu self-assigned this Dec 17, 2024
@mpirvu
Copy link
Contributor

mpirvu commented Dec 17, 2024

jenkins compile all jdk23

@mpirvu
Copy link
Contributor

mpirvu commented Dec 18, 2024

jenkins test sanity all jdk21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants