On Wed, 22 Oct 2025 10:01:50 GMT, Andrew Haley <[email protected]> wrote:
> SafeFetch was designed specifically for problems like this one. It was. However, I do not believe we should be in a situation where we are checking a call branch that is the last instruction in a code buffer -- which means there is no need to incur the cost of a SafeFetch. In particular, the failure that happened here only arose because a `far_jump` was used instead of a `far_call`. If a `far_call` had been generated then the value in lr would have been the last word in the buffer rather than a word off the end. ------------- PR Comment: https://git.openjdk.org/jdk/pull/26678#issuecomment-3432012676
