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

Peter Levart plevart at openjdk.java.net
Fri May 15 12:20:22 UTC 2020

On Fri, 15 May 2020 11:50:35 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

>> Peter Levart has updated the pull request incrementally with one additional commit since the last revision:
>>   Improvements to MemoryScope code considering Maurizio's comments.
> Looks good. Thanks.

I hid checkAliveConfined (by making it private static) and also the closed field which has the same poblem of being
access from subclass if it is private. But there's no such problem if it is accessed via VarHandle. Would that be OK?


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

More information about the panama-dev mailing list