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 ------------- Commit messages: - 8367412: [lworld] Adapter creation fails with guarantee(chk == -1 || chk == 0) failed: Field too big for insn Changes: https://git.openjdk.org/valhalla/pull/1646/files Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=1646&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8367412 Stats: 2 lines in 2 files changed: 0 ins; 1 del; 1 mod Patch: https://git.openjdk.org/valhalla/pull/1646.diff Fetch: git fetch https://git.openjdk.org/valhalla.git pull/1646/head:pull/1646 PR: https://git.openjdk.org/valhalla/pull/1646
