[foreign-memaccess+abi] RFR: 8296417: Make memory session a pure lifetime abstraction [v2]
Maurizio Cimadamore
mcimadamore at openjdk.org
Fri Nov 4 22:01:55 UTC 2022
On Fri, 4 Nov 2022 18:45:34 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:
>> Maurizio Cimadamore has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Tweak javadoc for VaList
>
> src/java.base/share/classes/java/lang/foreign/MemorySession.java line 33:
>
>> 31:
>> 32: /**
>> 33: * A memory session manages the lifecycle of memory segments.
>
> Since close() is now gone, and since sessions can also be confined. Maybe more accurate would be something like:
> Suggestion:
>
> * A memory session gates the access to memory segments.
>
> (Javadoc touch-ups can be done as part of the JEP as well, I think)
Not sure I agree - in the sense that a session is still the lifecycle of a segment. I'll defer for now.
-------------
PR: https://git.openjdk.org/panama-foreign/pull/750
More information about the panama-dev
mailing list