RFR: 8362558: [Leyden] fatal error: New workflow: should not compile code for unarchived class: UnsupportedBSMs$$Lambda/0...

Vladimir Kozlov kvn at openjdk.org
Mon Jul 21 18:48:02 UTC 2025


On Mon, 21 Jul 2025 18:29:02 GMT, Ioi Lam <iklam at openjdk.org> wrote:

> We should not AOT-compile indy call sites that cannot be archived in the resolved state.

src/hotspot/share/ci/ciEnv.cpp line 837:

> 835:     Method* adapter = cpool->resolved_indy_entry_at(index)->method();
> 836:     if (is_precompiled()) {
> 837:         ResolvedIndyEntry* indy_info = cpool()->resolved_indy_entry_at(index);

Can move `indy_info` up and use it in `adapter = ` expression too?

Do you need to use `()` for `cool()`? Other code does not use it.

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

PR Review Comment: https://git.openjdk.org/leyden/pull/87#discussion_r2219982904


More information about the leyden-dev mailing list