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

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


On Wed, 15 Feb 2023 07:49:24 GMT, David Holmes <dholmes at openjdk.org> wrote:

> Given the reason this bug likely arose is the fact the parameters to `calculate_jfr_stats` say they are "bytes" then fixing that is not a mere cleanup IMO. Can we at least fix that in this PR?

Hi David, I reformed the ill-named function and renamed it to "usage_numbers", because that name and prototype is used in other places in Metaspace as well (e.g. MetaspaceArena), so its a uniform scheme.

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

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


More information about the serviceability-dev mailing list