RFR: 8365047: Remove exception handler stub code in C2 [v2]

Andrew Dinn adinn at openjdk.org
Thu Aug 28 13:04:47 UTC 2025


On Thu, 28 Aug 2025 12:51:27 GMT, Ruben <duke at openjdk.org> wrote:

> Presumably, the most straightforward fix could be to emit a NOP at the end of the main code if otherwise a BL/BLR would be the last instruction there. I'd appreciate feedback on whether this approach is acceptable.

Wow, that's a bizarre bug. Maybe better might be to generate an illegal instruction rather than a nop but a nop would probably do.

@ruben-arm BTW, what exactly do you mean by 'the main code'?

-------------

PR Comment: https://git.openjdk.org/jdk/pull/26678#issuecomment-3233407524
PR Comment: https://git.openjdk.org/jdk/pull/26678#issuecomment-3233417095


More information about the hotspot-dev mailing list