-
Enhancement
-
Resolution: Fixed
-
P4
-
17, 21, 22
-
b18
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8346075 | 21.0.7 | Goetz Lindenmaier | P4 | Resolved | Fixed | master |
If jcmd users want to print statistical data about a specific property of the code heap (instead of requesting "all"), they first have to aggregate such data. If this step was forgotten, the requested function just returns. This should be improved.
------ Output before enhancement --------
> bin/jcmd <pid> Compiler.CodeHeap_Analytics FreeSpace
<pid>:
__ CodeHeapStateAnalytics lock wait took 0.000 seconds _________
__ CodeHeapStateAnalytics total duration 0.000 seconds _________
------ Output after enhancement --------
> bin/jcmd <pid> Compiler.CodeHeap_Analytics FreeSpace
<pid>:
__ CodeHeapStateAnalytics lock wait took 0.000 seconds _________
No aggregated data available for heap CodeHeap. Run function aggregate first.
__ CodeHeapStateAnalytics total duration 0.000 seconds _________
------ Output before enhancement --------
> bin/jcmd <pid> Compiler.CodeHeap_Analytics FreeSpace
<pid>:
__ CodeHeapStateAnalytics lock wait took 0.000 seconds _________
__ CodeHeapStateAnalytics total duration 0.000 seconds _________
------ Output after enhancement --------
> bin/jcmd <pid> Compiler.CodeHeap_Analytics FreeSpace
<pid>:
__ CodeHeapStateAnalytics lock wait took 0.000 seconds _________
No aggregated data available for heap CodeHeap. Run function aggregate first.
__ CodeHeapStateAnalytics total duration 0.000 seconds _________
- backported by
-
JDK-8346075 jcmd: Compiler.CodeHeap_Analytics cmd does not inform about missing aggregate
- Resolved
- relates to
-
JDK-8198691 CodeHeap State Analytics
- Resolved
- links to
-
Commit openjdk/jdk/1230aed6
-
Commit(master) openjdk/jdk21u-dev/d554f2b0
-
Review openjdk/jdk/15900
-
Review(master) openjdk/jdk21u-dev/1209
(1 links to)