[lworld] Integrated: 8367412: [lworld] Adapter creation fails with guarantee(chk == -1 || chk == 0) failed: Field too big for insn

Tobias Hartmann thartmann at openjdk.org
Tue Sep 30 15:33:44 UTC 2025


On Tue, 30 Sep 2025 13:55:10 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

> We hit a guarantee failure because the immediate of the branch instruction is too large. We should use a `far_jump` instead, like we do for all other jumps to `StubRoutines::forward_exception_entry()`.
> 
> I can reproduce this reliably with `test/hotspot/jtreg/runtime/valhalla/inlinetypes/classloading/ConcurrentClassLoadingTest.java` and therefore did not add another regression test.
> 
> Thanks,
> Tobias

This pull request has now been integrated.

Changeset: b298ae08
Author:    Tobias Hartmann <thartmann at openjdk.org>
URL:       https://git.openjdk.org/valhalla/commit/b298ae0850fc0d6a1df1e0a802824795d75b1026
Stats:     3 lines in 3 files changed: 0 ins; 1 del; 2 mod

8367412: [lworld] Adapter creation fails with guarantee(chk == -1 || chk == 0) failed: Field too big for insn

Reviewed-by: mhaessig

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

PR: https://git.openjdk.org/valhalla/pull/1646


More information about the valhalla-dev mailing list