8377245: AbstractMemorySegmentImpl#getString with length should be @ForceInline

Reviewed-by: mcimadamore
This commit is contained in:
Liam Miller-Cushon 2026-02-06 10:42:52 +00:00
parent 5f83e9ad0e
commit cd6a7a54c5

View File

@ -551,6 +551,7 @@ public abstract sealed class AbstractMemorySegmentImpl
unsafeGetOffset() == that.unsafeGetOffset();
}
@ForceInline
@Override
public String getString(long offset, Charset charset, long byteLength) {
Utils.checkNonNegativeArgument(byteLength, "byteLength");