Skip to content

Commit

Permalink
8154: Some JMX attributes are missing unit specifications in the Console
Browse files Browse the repository at this point in the history
Reviewed-by: clanger
  • Loading branch information
thegreystone committed Dec 8, 2023
1 parent 8635f41 commit 3cf45bb
Showing 1 changed file with 28 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2018, 2023, Oracle and/or its affiliates. All rights reserved.
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
Expand Down Expand Up @@ -5625,7 +5625,7 @@
</arguments>
</metadata>
<metadata>
<mri.dataPath>FreePhysicalMemorySize</mri.dataPath>
<mri.dataPath>FreeMemorySize</mri.dataPath>
<mri.objectName>java.lang:type=OperatingSystem</mri.objectName>
<displayname>Free Physical Memory</displayname>
<description>The amount of free physical memory.</description>
Expand All @@ -5634,6 +5634,16 @@
<color>#a0c0ff</color>
</arguments>
</metadata>
<metadata>
<mri.dataPath>FreePhysicalMemorySize</mri.dataPath>
<mri.objectName>java.lang:type=OperatingSystem</mri.objectName>
<displayname>Free Physical Memory (deprecated)</displayname>
<description>The amount of free physical memory - deprecated since JDK 14. Use FreeMemorySize instead.</description>
<unitstring>memory:B</unitstring>
<arguments>
<color>#a0c0ff</color>
</arguments>
</metadata>
<metadata>
<mri.dataPath>FreeSwapSpaceSize</mri.dataPath>
<mri.objectName>java.lang:type=OperatingSystem</mri.objectName>
Expand Down Expand Up @@ -5730,12 +5740,19 @@
<unitstring>percentage:</unitstring>
</metadata>
<metadata>
<mri.dataPath>TotalPhysicalMemorySize</mri.dataPath>
<mri.dataPath>TotalMemorySize</mri.dataPath>
<mri.objectName>java.lang:type=OperatingSystem</mri.objectName>
<displayname>Total Physical Memory</displayname>
<description>The total amount of physical memory.</description>
<unitstring>memory:B</unitstring>
</metadata>
<metadata>
<mri.dataPath>TotalPhysicalMemorySize</mri.dataPath>
<mri.objectName>java.lang:type=OperatingSystem</mri.objectName>
<displayname>Total Physical Memory (deprecated)</displayname>
<description>The total amount of physical memory - deprecated since JDK 14. Use TotalMemorySize.</description>
<unitstring>memory:B</unitstring>
</metadata>
<metadata>
<mri.dataPath>TotalSwapSpaceSize</mri.dataPath>
<mri.objectName>java.lang:type=OperatingSystem</mri.objectName>
Expand Down Expand Up @@ -5943,6 +5960,14 @@
<unitstring/>
<persistent>false</persistent>
</metadata>
<metadata>
<mri.dataPath>CurrentThreadAllocatedBytes</mri.dataPath>
<mri.objectName>java.lang:type=Threading</mri.objectName>
<displayname>Current Thread Allocated Bytes</displayname>
<description>An approximation of the total amount of memory, in bytes, allocated in heap memory for the current thread.</description>
<unitstring>memory:B</unitstring>
<persistent>false</persistent>
</metadata>
<metadata>
<mri.dataPath>CurrentThreadCpuTime</mri.dataPath>
<mri.objectName>java.lang:type=Threading</mri.objectName>
Expand Down

0 comments on commit 3cf45bb

Please sign in to comment.