RFR: 8277946: NMT: Deprecate and remove VM.native_memory shutdown jcmd command option

Thomas Stuefe stuefe at openjdk.java.net
Tue Nov 30 17:00:06 UTC 2021


On Tue, 30 Nov 2021 15:17:10 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 new implementation.
> 
> NMT shutdown can be requested via Jcmd. However, it is rare used.
> 
> We should deprecate for shutdown Jcmd command for removing NMT shutdown functionality.
> 
> Corresponding [CSR](https://bugs.openjdk.java.net/browse/JDK-8277947) has been approved.

Nice. Looks good. But that just removes the jcmd; I assume you remove the shutdown-on-OOM functionality, together with shutdown mechanics itself, in a separate RFE?

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

Marked as reviewed by stuefe (Reviewer).

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


More information about the hotspot-runtime-dev mailing list