You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BTraceUtils have heapUsage() and nonHeapUsage() methods. However, I would also like to be able to get the memory usage for the other memory pools like new generation, old generation and the surviorspace as well as the permanent generation.
The text was updated successfully, but these errors were encountered:
[author="joachimhskeie", created="Tue, 18 May 2010 20:26:54 +0200"]
Adding comments from Email, along with a diff file.
I have made some changes to the BTrace core to make it possible to get information regarding the individual Memory Pools the JVM uses. I have implemented this feature using Object arrays and format string in a similar fashion to printAggregation.
The BTrace script would then do something like the following to print out a formatted string for each memory pool:
I am attaching the diff file for BTrace (My Eclipse reorganized the imports in alphabetical order, feel free to remove this part of the patch if you dont want them sorted that way).
[reporter="joachimhskeie", created="Wed, 27 Jan 2010 17:25:12 +0100", resolved="Fri, 9 Jul 2010 16:18:58 +0200"]
BTraceUtils have heapUsage() and nonHeapUsage() methods. However, I would also like to be able to get the memory usage for the other memory pools like new generation, old generation and the surviorspace as well as the permanent generation.
The text was updated successfully, but these errors were encountered: