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

Jorn Vernee jvernee at openjdk.java.net
Fri Apr 17 17:22:43 UTC 2020


On Fri, 17 Apr 2020 17:09:42 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

>> 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

LGTM

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

Marked as reviewed by jvernee (Committer).

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


More information about the panama-dev mailing list