Make the inclusion of heap data necessary for profliling optional? #7707
-
Hello, I was looking into the changes that went in between GraalVM for JDK 17 (23.0) and GraalVM for JDK 21 (23.1) to see what is causing the binary size increase we are observing when using GraalVM for JDK 21 and the culprit is that the main contributors are:
To my understanding both changes are necessary to improve the accuracy of the Would it make sense to introduce a new option that would control whether such additional data would be included or not in the image? I was thinking something like Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @zakkak, for bullet one, yes, it improves async-sampler results. Additionally, we are using it in SubstrateDiagnostics and ThreadPrinter. For example, now each SEGFAULT has at least a method and class for a top frame. We had this debate about whether it is necessary or not, and the conclusion was that the benefits are higher than the costs. |
Beta Was this translation helpful? Give feedback.
Hi @zakkak, for bullet one, yes, it improves async-sampler results. Additionally, we are using it in SubstrateDiagnostics and ThreadPrinter. For example, now each SEGFAULT has at least a method and class for a top frame.
We had this debate about whether it is necessary or not, and the conclusion was that the benefits are higher than the costs.