RFR: JDK-8273881: Metaspace: test repeated deallocations
Thomas Stuefe
stuefe at openjdk.java.net
Mon Oct 11 04:46:05 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
Friendly Ping. It's rather trivial.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5546
More information about the hotspot-runtime-dev
mailing list