[foreign] RFR 8218992: Remove Scope.Resource interface
Maurizio Cimadamore
maurizio.cimadamore at oracle.com
Thu Feb 14 15:40:22 UTC 2019
As the subject implies, the Scope.Resource interface does not carry
enough weight, and should therefore be removed (at least until we start
to see other kinds of interesting resources).
Pointers are the only real resource managed by scopes - arrays, structs
and callbacks are just views on pointers with extra capabilities added
on top. Clients lose almost nothing with this - since there's always a
way to go from the view to the pointer that backs it up.
http://cr.openjdk.java.net/~mcimadamore/panama/8218992/
Maurizio
More information about the panama-dev
mailing list