mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-28 06:13:02 +00:00
8377245: AbstractMemorySegmentImpl#getString with length should be @ForceInline
Reviewed-by: mcimadamore
This commit is contained in:
parent
5f83e9ad0e
commit
cd6a7a54c5
@ -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");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user