RFR: JDK-8273881: Metaspace: test repeated deallocations

Aleksey Shipilev shade at openjdk.java.net
Mon Oct 11 06:03:06 UTC 2021


On Thu, 16 Sep 2021 09:51:45 GMT, Thomas Stuefe <stuefe 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

Marked as reviewed by shade (Reviewer).

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

PR: https://git.openjdk.java.net/jdk/pull/5546


More information about the hotspot-runtime-dev mailing list