Details
-
Enhancement
-
Resolution: Fixed
-
P4
-
22, 23
Description
The performance of the `MemorySegment::fil` can be improved by replacing the `checkAccess()` method call with calling `checkReadOnly()` instead (as the bounds of the segment itself do not need to be checked).
Also, smaller segments can be handled directly by Java code rather than transitioning to native code.
Also, smaller segments can be handled directly by Java code rather than transitioning to native code.
Attachments
Issue Links
- relates to
-
JDK-8338975 MemorySegment::fill performance deficit on aarch64
- Closed
-
JDK-8339531 Improve performance of MemorySegment::mismatch
- Resolved
- links to
-
Commit(master) openjdk/jdk/7a418fc0
-
Review(master) openjdk/jdk/20712