jfr view: Regarding adding "Allocated" column to the allocation related 3 views

Long Yang yibo.yl at alibaba-inc.com
Wed Mar 20 02:46:13 UTC 2024


hi all

jfr view has three predefined views regarding allocation: allocation-by-thread, allocation-by-class, allocation-by-site.
Currently, these three views only show percentages. 
Usually, we will first look at the absolute value of memory application (total number of allocated bytes). 
When the absolute value is larger enough, the items with larger proportions are more meaningful.
I don’t know if I can add Allocated column to these three views, similar to the thread-allocation view.

                                            Allocation by Class
Object Type                                                    Allocated Allocation Pressure
--------------------------------------------- ---------------- -------------------
byte[]                                                                 11.7 GB              99.82%

Best Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/hotspot-jfr-dev/attachments/20240320/8a8e5a6d/attachment-0001.htm>


More information about the hotspot-jfr-dev mailing list