[foreign-memaccess+abi] RFR: 8274157: java.foreign: Add method MemorySegment::isOverlapping [v2]

Julia Boes jboes at openjdk.java.net
Fri Oct 1 12:20:33 UTC 2021


> This change adds a method to the MemorySegment API that detects if two segments are overlapping.

Julia Boes has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains five commits:

 - Merge branch 'foreign-memaccess+abi' into memseg-overlap
 - refactor to overlap(MemorySegment), add offsetOf(MemorySegment)
 - Merge branch 'foreign-memaccess+abi' into memseg-overlap
 - address PR comments
 - initial change

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

Changes: https://git.openjdk.java.net/panama-foreign/pull/585/files
 Webrev: https://webrevs.openjdk.java.net/?repo=panama-foreign&pr=585&range=01
  Stats: 331 lines in 4 files changed: 329 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/panama-foreign/pull/585.diff
  Fetch: git fetch https://git.openjdk.java.net/panama-foreign pull/585/head:pull/585

PR: https://git.openjdk.java.net/panama-foreign/pull/585


More information about the panama-dev mailing list