Re: RFR: 8348668: Prevent first resource cleanup in confined arena from escaping [v2]

2025-01-29 Thread Chen Liang
On Wed, 29 Jan 2025 19:20:34 GMT, Jorn Vernee wrote: >> Currently, to free the memory allocated in a confined arena, we keep track >> of a list of 'cleanup actions', stored in linked list format in a so-called >> `ResourceList`, attached to the scope of the arena. When the scope is >> closed,

Re: RFR: 8348668: Prevent first resource cleanup in confined arena from escaping [v2]

2025-01-29 Thread Jorn Vernee
> Currently, to free the memory allocated in a confined arena, we keep track of > a list of 'cleanup actions', stored in linked list format in a so-called > `ResourceList`, attached to the scope of the arena. When the scope is closed, > we loop over all the entries in this resource list, and run