hi al,
Assume i'm executing a jvm where garbage collection is not running in parallel. That is when GC executes my main thread is halted.
Is there a way in which i can specify what method was running that current moment that the GC was invoked? I know i can get info about time but this is not enough. I assume such profiling info would be easy for the JVM to provide as it would only just be a matter of returning the top most element (stack frame) of each stack of a halted thread.
thanks.