[Discussion] Combine JEP 331 with JFR

Denghui Dong denghui.ddh at alibaba-inc.com
Tue Jun 22 03:29:26 UTC 2021


Hi,

Have you considered combining JEP 331 with JFR?

After learning the implementation of JEP 331, I think that if its data can be exposed through JFR events,
it will make the analysis of object allocation pattern based on JFR easier and more efficient

In the current implementation, we mainly analyze the application allocation behavior through 'ObjectAllocationSample'
and 'ObjectAllocationOutsideTLAB' events. If we need to improve the accuracy of the results, we need to reduce the size of TLAB,
so we can't guarantee accuracy and performance at the same time.

It's just an idea at the moment, any input is appreciated.

Best,
Denghui


More information about the hotspot-jfr-dev mailing list