RFR: 8157023: Integrate NMT with JFR [v4]
Stefan Johansson
sjohanss at openjdk.org
Wed Dec 7 14:51:05 UTC 2022
On Wed, 7 Dec 2022 13:21:42 GMT, Markus Grönlund <mgronlun at openjdk.org> wrote:
>> Stefan Johansson has updated the pull request incrementally with three additional commits since the last revision:
>>
>> - Rename the files
>> - Renaming and updating comments
>> - tstuefe review - no rename
>
> src/hotspot/share/jfr/metadata/metadata.xml line 711:
>
>> 709: <Event name="NativeMemoryUsage" category="Java Virtual Machine, Memory" label="Native Memory Usage Per Type"
>> 710: description="Native memory usage for a given memory type in the JVM" period="everyChunk">
>> 711: <Field type="string" name="type" label="Memory Type" description="Type used for the native memory allocation" />
>
> Suggest turning this type "string" into a JFR-constant type, like "JfrNMTType" to only send id's, instead of the entire strings. Can be done in a follow-up change.
I prefer to do this at a later point, created [JDK-8298278](https://bugs.openjdk.org/browse/JDK-8298278) to track this.
-------------
PR: https://git.openjdk.org/jdk/pull/11449
More information about the hotspot-dev
mailing list