RFR: JDK-8273881: Metaspace: test repeated deallocations
Thomas Stuefe
stuefe at openjdk.java.net
Mon Oct 11 15:51:13 UTC 2021
On Mon, 11 Oct 2021 05:54:58 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> Hi,
>>
>> this adds a gtest which tests that repeatedly allocate and deallocate from an arena with the same size will not increase the footprint beyond the first allocation (the block should be registered with freeblock management and re-used each time).
>>
>> Tests:
>> - manual tests on Ubuntu x64 and x86, with and without guards, and metaspace jtreg tests
>> - GHAs
>>
>> Thanks, Thomas
>
> Seems reasonable.
>
> Thanks,
> David
Thanks @dholmes-ora and @shipilev !
-------------
PR: https://git.openjdk.java.net/jdk/pull/5546
More information about the hotspot-runtime-dev
mailing list