RFR: 8277990: NMT: Remove NMT shutdown capability

Thomas Stuefe stuefe at openjdk.java.net
Thu Dec 2 05:12:29 UTC 2021


On Wed, 1 Dec 2021 16:00:09 GMT, Zhengyu Gu <zgu at openjdk.org> wrote:

> NMT shutdown functionality is a remnant of its first implementation, which could consume excessive amount of memory, therefore, it needed capability to shut it self down to ensure health of JVM. This is no longer a case for current implementation.
> 
> After JDK-8277946, there is no longer a use, so it can be removed.
> 
> Test:
> - [x] hotspot_nmt
> - [x] tier1 with NMT on

Very nice simplification.

Before diving in, could you explain a bit the locking changes in MallocSiteTable? To me, the association with shutdown is not immediately clear. Thanks!

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

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


More information about the hotspot-dev mailing list