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

Add class for OSR redefinition when removing a merged HCR guard #15726

Merged

Conversation

jdmpapin
Copy link
Contributor

Previously, if an HCR guard was merged into another virtual guard, it could be removed without taking into account the class whose redefinition it guards against. If no other removed HCR guard was sensitive to redefinition of the same class, then no redefinition assumption would be made for that class. If that class were later redefined, the JIT would fail to patch OSR guards within the method.

Additionally, use performTransformation() to make the removal optional like it is in the non-merged case above.

Previously, if an HCR guard was merged into another virtual guard,
it could be removed without taking into account the class whose
redefinition it guards against. If no other removed HCR guard was
sensitive to redefinition of the same class, then no redefinition
assumption would be made for that class. If that class were later
redefined, the JIT would fail to patch OSR guards within the method.

Additionally, use performTransformation() to make the removal optional
like it is in the non-merged case above.
@0xdaryl
Copy link
Contributor

0xdaryl commented Aug 18, 2022

Jenkins test sanity all jdk17

@0xdaryl 0xdaryl self-assigned this Aug 18, 2022
@0xdaryl 0xdaryl merged commit edfac4a into eclipse-openj9:master Aug 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants