Integrated: JDK-8273881: Metaspace: test repeated deallocations

Thomas Stuefe stuefe at openjdk.java.net
Mon Oct 11 15:51:14 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

This pull request has now been integrated.

Changeset: 83c37719
Author:    Thomas Stuefe <stuefe at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/83c37719290039672cf261701028c8eb044a2e77
Stats:     47 lines in 1 file changed: 47 ins; 0 del; 0 mod

8273881: Metaspace: test repeated deallocations

Reviewed-by: dholmes, shade

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

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


More information about the hotspot-runtime-dev mailing list