Skip to content

Instantly share code, notes, and snippets.

@simonis
Last active October 31, 2023 15:25
Show Gist options
  • Save simonis/df51b07b42ef733f912994a1c8b4eb37 to your computer and use it in GitHub Desktop.
Save simonis/df51b07b42ef733f912994a1c8b4eb37 to your computer and use it in GitHub Desktop.
Comparing JMX and hsperf metrics
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
View raw

(Sorry about that, but we can’t show files that are this big right now.)

@simonis
Copy link
Author

simonis commented Oct 12, 2022

The outcome of this experiment is that we can't get a reliable "heap memory after GC usage" (or getCollectionUsage() in JMX speak) metric from the hsperf counters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment