On Tue, 15 Nov 2022 18:47:39 GMT, Maurizio Cimadamore <mcimadam...@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:
> 
>   Fix typo in SegmentScope javadoc

src/java.base/share/classes/java/lang/foreign/SegmentScope.java line 8:

> 6: 
> 7: /**
> 8:  * A segment scope controls access to a memory segment.

A passing comment here is that "to a memory segment" hints of one-to-one 
relationship when it's actually one-to-many. Arena is specified to control the 
lifecycle "of memory segments".

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

PR: https://git.openjdk.org/jdk/pull/10872

Reply via email to