Where does VMError::print_native_stack and os::get_sender_for_C_frame load/use the frame pointer?
Julian Waters
tanksherman27 at gmail.com
Mon Jul 8 07:59:20 UTC 2024
Hi David,
Ah, I think you misunderstood me, I'm aware that the frame pointer is
saved as required by the compiler (With the exception of the Microsoft
compiler, which doesn't save it at all). What I meant was that the
comments in Windows code imply that VMError::print_native_stack and
os::get_sender_for_C_frame need to use the frame pointer, yet I can't
seem to find where or how either of them obtain the frame pointer for
whatever they use it for on platforms and compilers where the frame
pointer is saved (For instance, on Linux), whether through handwritten
assembly code or some other means. It follows that if they need to use
the frame pointer, then they must grab it from somewhere, after all
best regards,
Julian
More information about the hotspot-dev
mailing list