[foreign-memaccess] RFR: Investigate ways to make handoff-like operation more explicit (foreign-memacess edition) [v2]
Jorn Vernee
jvernee at openjdk.java.net
Thu Oct 1 13:38:33 UTC 2020
On Thu, 1 Oct 2020 13:20:29 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:
> > Looks good. Though, I think we should mention somewhere on handoff/share/registerCleaner, or maybe on the class, that
> > attachments, cleanup actions, and cleaners are transferred to the new segment when doing these operations.
>
> Not sure I fully agree - in the sense that cleanupAction/attachment are no longer first class properties of the
> segment - as much as they are property of segments created unsafely.
Could also mention this on the asSegmentRestricted factory maybe?
-------------
PR: https://git.openjdk.java.net/panama-foreign/pull/363
More information about the panama-dev
mailing list