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

Maurizio Cimadamore mcimadamore at openjdk.org
Fri Feb 6 10:06:07 UTC 2026


On Thu, 5 Feb 2026 13:59:50 GMT, Liam Miller-Cushon <cushon at openjdk.org> wrote:

> 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.

No objections from me

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

Marked as reviewed by mcimadamore (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/29586#pullrequestreview-3762026580


More information about the core-libs-dev mailing list