RFR: 8346836: C2: Verify CastII/CastLL bounds at runtime [v10]

Quan Anh Mai qamai at openjdk.org
Fri Apr 25 02:16:09 UTC 2025


On Thu, 24 Apr 2025 23:18:08 GMT, Vladimir Ivanov <vlivanov at openjdk.org> wrote:

> IMO it is general enough, but I haven't found a good place to put it. Ideally, all runtime/debug calls should keep frame pointer valid for diagnostic purposes.

Tbh I don't understand ... How does the VM normally walk the stack when we crash in a compiled method? I thought that it has to know the frame size of a compiled method? Why do we need to manually reconstruct the frame pointer?

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

PR Comment: https://git.openjdk.org/jdk/pull/22880#issuecomment-2829223189


More information about the hotspot-compiler-dev mailing list