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

Quan Anh Mai qamai at openjdk.org
Sun Mar 23 17:25:29 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.

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

Commit messages:
 - Remove larval InlineTypeNode in Unsafe instrinsics

Changes: https://git.openjdk.org/valhalla/pull/1406/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=1406&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8352647
  Stats: 52 lines in 3 files changed: 38 ins; 2 del; 12 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