How is stack-trace constructed?
Manas Thakur
manasthakur17 at gmail.com
Wed Jun 17 11:02:11 UTC 2015
Hi Andrew,
I haven’t done that (will do for sure if you suggest). But I thought this information must be available somewhere with a data structure in “ciMethod”. Can you tell if I am leading to the right direction?
Regards,
Manas
> On 17-Jun-2015, at 4:27 pm, Andrew Haley <aph at redhat.com> wrote:
>
> On 06/17/2015 11:55 AM, Manas Thakur wrote:
>> Whenever an exception is thrown at runtime, we get the full stack-trace, listing all the call sites of the method. This is possible irrespective of whether the method enclosing exception site is compiled by C1 or C2, or interpreted. Can someone help me out in finding the data structures that store this call-site information?
>
> This is not a very simple answer. There is a great deal of information
> stored along with compiled code, and it is used to trace the stack. Have
> you tried stepping through the code in a debugger?
>
> Andrew.
>
More information about the hotspot-dev
mailing list