For what purposes do you want this? If you want to start recording object allocation just from application startup, then there is an special option of profiler agent (this option is reflected in Eclipse UI as well)
I have a section of code that runs in a few seconds (from a test script) and I want to be able to take a couple of snaps as it runs. Not critical, I'm just used to being able to do this with a debugger.