JFR sampling question

Thomas Stüfe thomas.stuefe at gmail.com
Wed Nov 4 12:07:47 UTC 2020


Hi,

I am currently reworking the Metaspace information shown in JMC, which is
outdated after JEP387.

How often is this information sampled? How expensive can the sampling code
get?

For example, post-JEP387, the metachunk freelists contain committed as well
as uncommitted areas. While it may be interesting to know how much area is
committed, that would require walking the freelists, which could get
expensive.

Thanks, Thomas


More information about the hotspot-jfr-dev mailing list