[foreign-memaccess] [Rev 03] RFR: Move "owner" field and thread-confinement checks to MemoryScope

Maurizio Cimadamore mcimadamore at openjdk.java.net
Fri May 15 13:30:39 UTC 2020


On Fri, 15 May 2020 13:18:49 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

> This changes the behavior we had before in AbstractMemorySegmentImpl::checkValidState. We should still do the liveness
> check even if there is no owner.

True - I suspect Peter would argue that such check doesn't make much sense in a racy context - but still, there's a
change in behavior here.

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

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


More information about the panama-dev mailing list