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

Tobias Hartmann thartmann at openjdk.org
Tue Sep 30 14:47:03 UTC 2025


> 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

Tobias Hartmann has updated the pull request incrementally with one additional commit since the last revision:

  Increased timeout

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

Changes:
  - all: https://git.openjdk.org/valhalla/pull/1646/files
  - new: https://git.openjdk.org/valhalla/pull/1646/files/03570123..5fc9070b

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=valhalla&pr=1646&range=01
 - incr: https://webrevs.openjdk.org/?repo=valhalla&pr=1646&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 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


More information about the valhalla-dev mailing list