RFR: 8157023: Integrate NMT with JFR [v4]

Stefan Johansson sjohanss at openjdk.org
Wed Dec 7 14:51:09 UTC 2022


On Wed, 7 Dec 2022 13:58:18 GMT, Erik Gahlin <egahlin at openjdk.org> wrote:

>> src/jdk.jfr/share/conf/jfr/default.jfc line 516:
>> 
>>> 514: 
>>> 515:     <event name="jdk.NativeMemoryUsage">
>>> 516:       <setting name="enabled" control="gc-enabled-normal">true</setting>
>> 
>> gc-enabled-normal? Should this really be tied to a gc control? An NMT control to be introduced?
>
> Since users need to pass a command line flag to enable the event, I think it can be on by default, and use included gc-enabled-normal

Talked to @egahlin about this and maybe not optimal to tie it to a gc control, but fine for now. This does not affect the VM, just JMC.

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

PR: https://git.openjdk.org/jdk/pull/11449


More information about the hotspot-dev mailing list