[foreign-memaccess] [Rev 01] RFR: JDK-8243073: Add support for serial confinement

Maurizio Cimadamore mcimadamore at openjdk.java.net
Fri Apr 17 17:09:42 UTC 2020


> This patch adds support for serial confinement - e.g. a handoff operation to transfer ownership from thread A to thread
> B.
> The implementation is based on some iterations we have done in the past. I've added a test, and I've also rewritten
> some of the existing tests not to rely on waits, but to use latches instead, as observed by Paul.

Maurizio Cimadamore has updated the pull request incrementally with one additional commit since the last revision:

  Added more documentation about safety guarantees of the new handoff operation
  Moved full fence after instance creation

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

Changes:
  - all: https://git.openjdk.java.net/panama-foreign/pull/117/files
  - new: https://git.openjdk.java.net/panama-foreign/pull/117/files/124d5a08..78dbc41f

Webrevs:
 - full: https://webrevs.openjdk.java.net/panama-foreign/117/webrev.01
 - incr: https://webrevs.openjdk.java.net/panama-foreign/117/webrev.00-01

  Stats: 11 lines in 2 files changed: 8 ins; 0 del; 3 mod
  Patch: https://git.openjdk.java.net/panama-foreign/pull/117.diff
  Fetch: git fetch https://git.openjdk.java.net/panama-foreign pull/117/head:pull/117

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


More information about the panama-dev mailing list