Re: RFR: 8319928: Exceptions thrown by cleanup actions should be handled correctly [v5]

2023-11-16 Thread Jorn Vernee
On Thu, 16 Nov 2023 18:38:54 GMT, Maurizio Cimadamore 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

Re: RFR: 8319928: Exceptions thrown by cleanup actions should be handled correctly [v5]

2023-11-16 Thread Maurizio Cimadamore
> 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