On Mon, 13 Nov 2023 16:09:10 GMT, Maurizio Cimadamore <mcimadam...@openjdk.org> 
wrote:

>> This simplePR tweaks the factory which wraps custom cleanup actions passed 
>> to `MemorySegment::reinterpret`, so that any exception thrown by the custom 
>> cleanup is swallowed when the arena is closed.
>> 
>> This aligns the behavior of confined/shared session with that of implicit 
>> session (as implicit sessions are backed by a `Cleaner`, there is no way for 
>> cleanup exception to bubble up).
>
> Maurizio Cimadamore has updated the pull request incrementally with three 
> additional commits since the last revision:
> 
>  - More javadoc tweaks
>  - Tweak javadoc
>  - Catch all cleanup failures in `CleanupException`

Marked as reviewed by jvernee (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/16619#pullrequestreview-1728378083

Reply via email to