Skip to content

Commit

Permalink
Merge pull request #20614 from JamesKingdon/trampolineResetFix
Browse files Browse the repository at this point in the history
Reset trampoline pointers to top of space
  • Loading branch information
mpirvu authored Nov 19, 2024
2 parents 975e741 + fe89ec5 commit 44766de
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions runtime/compiler/runtime/J9CodeCache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -749,8 +749,10 @@ J9::CodeCache::resetTrampolines()
}

//reset the trampoline marks back to their starting positions
_trampolineAllocationMark = _trampolineBase;
_trampolineReservationMark = _trampolineBase;
// Note that permanent trampolines are allocated from _tempTrampolineBase downwards
// see initialize in OMRCodeCache.cpp
_trampolineAllocationMark = _tempTrampolineBase;
_trampolineReservationMark = _tempTrampolineBase;

OMR::CodeCacheTempTrampolineSyncBlock *syncBlock;
if (!_tempTrampolinesMax)
Expand Down

0 comments on commit 44766de

Please sign in to comment.