[foreign-memaccess] RFR: Investigate ways to make handoff-like operation more explicit (foreign-memacess edition) [v2]

Maurizio Cimadamore mcimadamore at openjdk.java.net
Thu Oct 1 13:38:33 UTC 2020


On Thu, 1 Oct 2020 13:10:41 GMT, Jorn Vernee <jvernee 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.

For cleaner, it's a different story, I'll work on something.

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

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


More information about the panama-dev mailing list