[lworld] RFR: 8348606: [lworld] Substitutability test may perform heap allocations [v4]

Chen Liang liach at openjdk.org
Wed Apr 9 12:41:09 UTC 2025


> Update substitutability test to use MethodHandles that access independent primitive/pointer instead heap reallocated copies of inlined values with an object header. Need long-term solution for user MethodHandle that accesses nested values in the future; hope the intrinsics can help in the future.
> 
> Testing: test/jdk/valhalla and test/hotspot/jtreg/*/valhalla, tier 1-3 tests running.

Chen Liang has updated the pull request incrementally with one additional commit since the last revision:

  Fix failing compiler tests, thanks to @TobiHartmann

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

Changes:
  - all: https://git.openjdk.org/valhalla/pull/1364/files
  - new: https://git.openjdk.org/valhalla/pull/1364/files/ae2c70ee..0e02b94f

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=valhalla&pr=1364&range=03
 - incr: https://webrevs.openjdk.org/?repo=valhalla&pr=1364&range=02-03

  Stats: 7 lines in 1 file changed: 7 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/valhalla/pull/1364.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/1364/head:pull/1364

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


More information about the valhalla-dev mailing list