RFR: 8295044: Implementation of Foreign Function and Memory API (Second Preview) [v6]
Paul Sandoz
psandoz at openjdk.org
Mon Nov 7 20:46:37 UTC 2022
On Mon, 7 Nov 2022 15:00:02 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:
>> This PR contains the API and implementation changes for JEP-434 [1]. A more detailed description of such changes, to avoid repetitions during the review process, is included as a separate comment.
>>
>> [1] - https://openjdk.org/jeps/434
>
> Maurizio Cimadamore has updated the pull request incrementally with one additional commit since the last revision:
>
> Make memory session a pure lifetime abstraction
src/java.base/share/classes/java/lang/foreign/package-info.java line 103:
> 101: * the memory session associated with the segment being accessed has not been closed prematurely.
> 102: * We call this guarantee <em>temporal safety</em>. Together, spatial and temporal safety ensure that each memory access
> 103: * operation either succeeds - and accesses a valid location of the region of memory backing the memory segment - or fails.
Suggestion:
* operation either succeeds - and accesses a valid location within the region of memory backing the memory segment - or fails.
-------------
PR: https://git.openjdk.org/jdk/pull/10872
More information about the hotspot-dev
mailing list