Skip to content

Conversation

Akira1Saitoh
Copy link
Contributor

@Akira1Saitoh Akira1Saitoh commented Dec 18, 2023

Class unload pics must be added to class constants so that constants can be invalidated when they are unloaded. aconstEvaluator does add them on AArch64. However, ificmpHelper does not evaluate aconst node if the constant value can be encoded into the immediate field of the cmp instruction. This commit updates ificmpHelper to evaluate aconst node if class unload pic is required.

Master PR: eclipse-omr/omr#7206

Class unload pics must be added to class constants so that constants can be
invalidated when they are unloaded. aconstEvaluator does add them on AArch64.
However, ificmpHelper does not evaluate aconst node if the constant value can be
encoded into the immediate field of the cmp instruction.
This commit updates ificmpHelper to evaluate aconst node if class unload pic
is required.

Signed-off-by: Akira Saitoh <[email protected]>
@Akira1Saitoh
Copy link
Contributor Author

FYI @knn-k @0xdaryl @pshipton

@pshipton pshipton merged commit c293fa2 into eclipse-openj9:v0.43.0-release Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants