On Fri, 5 Jun 2026 14:59:58 GMT, Coleen Phillimore <[email protected]> wrote:

> This change refactors the super class scalar argument checking code and 
> deoptimization so that it is only called at link time and not for 
> frame::describe() and other places that are only retrieving the calling 
> convention.  The only time that we detect a mismatch is during class linking, 
> before the overriding subclass method can run.
> 
> This avoids running vm code while thread_in_Java, which is unsafe, and 
> removes the ThreadInVMfromUnknown, which was even more unsafe.
> 
> Tested with tier1-4.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

As this is a change related to compiler code, did you run valhalla-comp-stress 
on Mach5?

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

PR Comment: https://git.openjdk.org/valhalla/pull/2517#issuecomment-4633678788

Reply via email to