RFR: 8365047: Remove exception handler stub code in C2 [v7]
Andrew Haley
aph at openjdk.org
Wed Oct 22 14:31:27 UTC 2025
On Wed, 22 Oct 2025 12:00:04 GMT, Andrew Dinn <adinn at openjdk.org> 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.
It's still incorrect, though, because we can't guarantee that a call can't be at the end of a mapped region. Please include this fix.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/26678#issuecomment-3432654503
More information about the serviceability-dev
mailing list