Hotspot Arena chunks are pooled. This can confuse matters a lot when analyzing arena memory usage, especially when it comes to JIT. For some of the headaches associated with pooling, see JDK-8325890.
We are currently investigating whether to move away from pooling altogether (JDK-8333151). While these investigations go on, and for older releases, it would be nice to have at least a switch that can switch off chunk pooling and ensure that arena chunks are tagged with their arena-specific memory tag instead of the generic mtChunk tag.
We are currently investigating whether to move away from pooling altogether (JDK-8333151). While these investigations go on, and for older releases, it would be nice to have at least a switch that can switch off chunk pooling and ensure that arena chunks are tagged with their arena-specific memory tag instead of the generic mtChunk tag.