How is stack-trace constructed?
aph at redhat.com
Wed Jun 17 10:57:56 UTC 2015
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?
More information about the hotspot-dev