RFR: 8339531: Improve performance of MemorySegment::mismatch [v3]

Per Minborg pminborg at openjdk.org
Thu Sep 5 08:34:11 UTC 2024


> This PR proposes to improve the performance of `MemorySegment::mismatch` by using Java code rather than transitioning to native code.

Per Minborg has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 10 additional commits since the last revision:

 - Merge branch 'master' into mismatch-performance2
 - Move fill to SegmentBulkOperations
 - Add system property and improve benchmark
 - Update src/java.base/share/classes/jdk/internal/foreign/SegmentBulkOperations.java
   
   Co-authored-by: Maurizio Cimadamore <54672762+mcimadamore at users.noreply.github.com>
 - Remove temp methods
 - Clean up
 - Update comment
 - Merge branch 'master' into mismatch-performance2
 - Create a separate class for segment bulk operations
 - Add Java implementation of MS::mismatch

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/20848/files
  - new: https://git.openjdk.org/jdk/pull/20848/files/44fb43e8..14184901

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=20848&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=20848&range=01-02

  Stats: 1878 lines in 115 files changed: 926 ins; 534 del; 418 mod
  Patch: https://git.openjdk.org/jdk/pull/20848.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20848/head:pull/20848

PR: https://git.openjdk.org/jdk/pull/20848


More information about the core-libs-dev mailing list