On Tue, 15 Nov 2022 12:34:43 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:
> 
>   Add `since` tag in Module/ModuleLayer preview methods

src/java.base/share/classes/java/lang/foreign/Arena.java line 32:

> 30: 
> 31: /**
> 32:  * An arena controls the lifecycle of one or more memory segments, 
> providing both flexible allocation and timely deallocation.

Strictly: "An arena controls the lifecycle of zero or more ...". A newly 
created Arena, for example, does not control the lifecycle of any segment.

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

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

Reply via email to