RFR: 8348556: Inlining fails earlier for MemorySegment::reinterpret

Per Minborg pminborg at openjdk.org
Wed Feb 5 13:27:04 UTC 2025


This PR proposes to add some `@ForceInline` annotations in the `Module` class in order to assist inlining of FFM var/method handles.

Tested and passed tier1-3

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

Commit messages:
 - Add @ForceInline annotations and restructure some methods

Changes: https://git.openjdk.org/jdk/pull/23460/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23460&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8348556
  Stats: 57 lines in 1 file changed: 26 ins; 4 del; 27 mod
  Patch: https://git.openjdk.org/jdk/pull/23460.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23460/head:pull/23460

PR: https://git.openjdk.org/jdk/pull/23460


More information about the core-libs-dev mailing list