Is there a way to record the objects created at java application startup using JProfiler attach on wait mode?

Viewed 13

I would like to profile a Java application start up and understand what are the objects created and what causing GC using JProfiler

1 Answers

In the "Session Startup" dialog that is shown when you start the profiling session in JProfiler, there is a "Initial recording profile" setting.

enter image description here

You can add a profile that records allocations by clicking on the "Configure" button

enter image description here

Related