RFR: JDK-8302455: VM.classloader_stats memory size values are wrong [v2]

Thomas Stuefe stuefe at openjdk.org
Wed Feb 15 10:40:13 UTC 2023


> VM.classloader_stats shows metaspace consumption in words, but should show bytes. 
> 
> Patch fixes that, and adjusts the associated jtreg test to catch regressions like this.
> 
> I manually tested the test with the unpatched hotspot to see if the regression shows up, it does.
> 
> Tested the patch on x64 (fastdebug, release) and x86.
> 
> Note: "calculate_jfr_stats" is misnamed, actually only ever used by this dcmd, not by jfr. I will clear this up in a separate RFE.

Thomas Stuefe has updated the pull request incrementally with one additional commit since the last revision:

  Request David

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/12556/files
  - new: https://git.openjdk.org/jdk/pull/12556/files/2be3a810..0bbbcc15

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=12556&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=12556&range=00-01

  Stats: 33 lines in 3 files changed: 9 ins; 2 del; 22 mod
  Patch: https://git.openjdk.org/jdk/pull/12556.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/12556/head:pull/12556

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


More information about the serviceability-dev mailing list