RFR: 8377245: AbstractMemorySegmentImpl#getString with length should be @ForceInline

Liam Miller-Cushon cushon at openjdk.org
Thu Feb 5 14:07:33 UTC 2026


Please consider this change to add `@ForceInline` to the `MemorySegment#getString` overload added in JDK-8369564. The other pre-existing `#getString` methods already have `@ForceInline` annotations.

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

Commit messages:
 - 8377245: AbstractMemorySegmentImpl#getString with length should be @ForceInline

Changes: https://git.openjdk.org/jdk/pull/29586/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=29586&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8377245
  Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/29586.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/29586/head:pull/29586

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


More information about the core-libs-dev mailing list