Profile Entire Java Program Execution in VisualVM
Consider using HPROF and opening the data file with a tool like HPjmeter – or just reading the resulting text file in your favorite editor. Command used: javac -J-agentlib:hprof=heap=sites Hello.java SITES BEGIN (ordered by live bytes) Fri Oct 22 11:52:24 2004 percent live alloc’ed stack class rank self accum bytes objs bytes objs trace name … Read more