RFR: 8365017: The SegmentBulkOperations::copy method can be improved using overlaps [v8]
Andrey Turbanov
aturbanov at openjdk.org
Tue Aug 19 14:40:45 UTC 2025
On Wed, 13 Aug 2025 14:14:30 GMT, Per Minborg <pminborg at openjdk.org> wrote:
>> This PR proposes to use overlapping memory areas in `SegmentBulkOperations::copy`, similar to what is proposed for `SegmentBulkOperations::fill` in https://github.com/openjdk/jdk/pull/25383.
>>
>> This PR passes `tier1`, `tier2`, and `tier3`testing on multiple platforms.
>
> Per Minborg has updated the pull request incrementally with one additional commit since the last revision:
>
> Break out the default branch
src/java.base/share/classes/jdk/internal/foreign/SegmentBulkOperations.java line 126:
> 124:
> 125:
> 126: if( len > 15) {
Suggestion:
if (len > 15) {
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26672#discussion_r2285488529
More information about the core-libs-dev
mailing list