JDK-8310974 : NMT: Arena diffs miss the scale
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 17,21,22
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2023-06-27
  • Updated: 2025-06-27
  • Resolved: 2023-06-28
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 21 JDK 22
21.0.9Fixed 22 b04Fixed
Related Reports
Causes :  
Relates :  
Description
See for example:

```
Compiler (reserved=175324KB +135838KB, committed=175324KB +135838KB)
    (malloc=29999KB +5558KB #23578 +8965)
    (arena=145325KB +130279 #17 -5)
```

The +130279 should actually be +130279KB.
Comments
[jdk21u-fix-request] Approval Request from Daniel Hu Fixes incorrect arena diff scales in NMT logs. Applies cleanly from JDK22 with no bugtail. Passes GHA. Risk is low-medium because no impact to runtime and only logging changes but touches hotspot.
24-06-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk21u-dev/pull/1920 Date: 2025-06-24 17:51:43 +0000
24-06-2025

Changeset: 46e4ee1e Author: Aleksey Shipilev <shade@openjdk.org> Date: 2023-06-28 14:07:58 +0000 URL: https://git.openjdk.org/jdk/commit/46e4ee1e80652203bd59d968ea72b27681bdf312
28-06-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/14680 Date: 2023-06-27 16:01:04 +0000
27-06-2023