Walk stack in signal handler

Andrew Haley aph at redhat.com
Fri Feb 12 09:48:54 UTC 2016


On 11/02/16 17:54, Roman Kovalenko wrote:

> I would like to profile application by interrupting it with signals and
> using AsyncGetCallTrace then. This works well, but also I want to collect
> every 'this' for any object method frame that is walkable by AGCT. I looked
> around (forte.cpp and related) but had no success.
> 
> Is it even possible?

It's difficult.  The compilers move values around and things are
really only stable at safepoints.



More information about the hotspot-runtime-dev mailing list