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). This pull request has now been integrated. Changeset: 246ffbf1 Author: Coleen Phillimore <[email protected]> URL: https://git.openjdk.org/valhalla/commit/246ffbf155efd1cc0731b8b04ee69fa84b92ec26 Stats: 110 lines in 2 files changed: 56 ins; 45 del; 9 mod 8385966: [lworld] Remove ThreadInVMfromUnknown from get_supers Reviewed-by: heidinga, pchilanomate, fparain ------------- PR: https://git.openjdk.org/valhalla/pull/2517
