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

Reset trampoline pointers to top of space (0.49) #20636

Merged

Conversation

JamesKingdon
Copy link
Contributor

Backport of #20614 for v0.49.0-release

After flushing the code cache under FSD there is a call to resetTrampolines.
The _trampolineAllocationMark and _trampolineReservationMark need to be reset
to their starting positions but were incorrectly set to the end of the trampoline
space. As a result all active segments at the time of the cache flush are marked
as full (assuming a platform that uses trampolines). This can be seen by taking
a JIT verbose log with option `codecache` which will show

CODECACHE:  CodeCache 00007E759000C660 marked as full in reserveSpaceForTrampoline
@mpirvu mpirvu self-assigned this Nov 19, 2024
@mpirvu mpirvu merged commit c73c323 into eclipse-openj9:v0.49.0-release Nov 19, 2024
2 checks passed
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