<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi,</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
The value is sample-based and only a rough estimate. That's why only a percentage is shown. The purpose is to find the worst offenders. Thread allocation is more precise as it looks at a byte value stored in the thread.</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
(I might come off as negative to your suggestions, but when I implemented 'jfr view' I tried many different views and layouts, only the best made it. The main reason I created the query language was so I could quickly try things out.)</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Erik</div>
<hr style="display: inline-block; width: 98%;">
<div dir="ltr" id="divRplyFwdMsg"><span style="font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);"><b>From:</b> hotspot-jfr-dev <hotspot-jfr-dev-retn@openjdk.org> on behalf of Long Yang <yibo.yl@alibaba-inc.com><br>
<b>Sent:</b> Wednesday, March 20, 2024 3:46 AM<br>
<b>To:</b> hotspot-jfr-dev@openjdk.org <hotspot-jfr-dev@openjdk.org><br>
<b>Subject:</b> jfr view: Regarding adding "Allocated" column to the allocation related 3 views</span>
<div> </div>
</div>
<div style="color:#494F50; font-size:14.000000px; font-family:'Helvetica Neue'" id="x_mailbox-conversation">
<div>hi all</div>
<div><br>
</div>
<div><b>jfr view</b> has three predefined views regarding allocation: <b>allocation-by-thread</b>,
<b>allocation-by-class</b>,<b> allocation-by-site</b>.</div>
<div>Currently, these three views only show percentages. </div>
<div>Usually, we will first look at the absolute value of memory application (total number of allocated bytes). </div>
<div>When the absolute value is larger enough, the items with larger proportions are more meaningful.</div>
<div>I don’t know if I can add <b>Allocated</b> column to these three views, similar to the
<b>thread-allocation</b> view.</div>
<div><br>
</div>
<div>                                            Allocation by Class</div>
<div>Object Type                                                    Allocated Allocation Pressure</div>
<div>--------------------------------------------- ---------------- -------------------</div>
<div>byte[]                                                                 11.7 GB              99.82%</div>
<div><br>
</div>
<div style="font-family: tahoma; font-size: 14px; color: rgb(73, 79, 80);"><span style="background-color: rgb(255, 255, 255);">Best Regards</span></div>
</div>
</body>
</html>