[lworld] RFR: 8352647: [lworld] Remove larval InlineTypeNode in Unsafe intrinsics [v3]

Quan Anh Mai qamai at openjdk.org
Tue Apr 1 17:50:00 UTC 2025


> Hi,
> 
> As a step of #1405, I would like to remove the usage of larval value objects in `Unsafe` intrinsics. This patch also tries to make sure that `Unsafe::makePrivateBuffer` and `Unsafe::finishPrivateBuffer` are always inlined, so that larval objects do not cross call boundaries except for invoking object constructors.
> 
> Please take a look and review this PR, thanks a lot.

Quan Anh Mai has updated the pull request incrementally with one additional commit since the last revision:

  add test

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

Changes:
  - all: https://git.openjdk.org/valhalla/pull/1406/files
  - new: https://git.openjdk.org/valhalla/pull/1406/files/70c7030c..3c3082ae

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

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

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


More information about the valhalla-dev mailing list