On Fri, 10 Nov 2023 16:34:11 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).

This pull request has now been integrated.

Changeset: 7f231109
Author:    Maurizio Cimadamore <mcimadam...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/7f231109c2e172493114cd0835cbb770331d1635
Stats:     87 lines in 3 files changed: 85 ins; 1 del; 1 mod

8319928: Exceptions thrown by cleanup actions should be handled correctly

Reviewed-by: jvernee

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

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

Reply via email to