On Wed, 30 Apr 2025 10:55:41 GMT, Per Minborg <pminb...@openjdk.org> wrote:

>> This PR is based on the work of @mernst-github and aims to implement an 
>> _internal_ thread-local 'stack' allocator, which works like a dynamically 
>> sized arena, but with reset functionality to reset the allocated size back 
>> to a certain level. The underlying memory could stay around between calls, 
>> which could improve performance.
>> 
>> Re-allocated segments are not zeroed between allocations.
>
> Per Minborg has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Add test coverage and add convenience methods

So, the recent changes relate mostly to improving test coverage and some fixes 
that were made as a result:
 * Reused tests from another PR with similar ambitions
 * Added convenience methods for being able to use a MemoryLayout directly
 * Added thread check in `Frame::allocate" preventing inadvertent sharing 
across threads
 * Broke out a test and marked it in a ProblemList (macosx malloc problem)
 * Adding overrides to the usual `Object` methods for `BufferStack`

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

PR Comment: https://git.openjdk.org/jdk/pull/24829#issuecomment-2842344498

Reply via email to