< prev index next >
src/hotspot/os_cpu/linux_sparc/thread_linux_sparc.hpp
Print this page
*** 30,46 ****
void pd_initialize() {
_anchor.clear();
_base_of_stack_pointer = NULL;
}
! frame pd_last_frame() {
! assert(has_last_Java_frame(), "must have last_Java_sp() when suspended");
! assert(_anchor.walkable(), "thread has not dumped its register windows yet");
!
! assert(_anchor.last_Java_pc() != NULL, "Ack no pc!");
! return frame(last_Java_sp(), frame::unpatchable, _anchor.last_Java_pc());
! }
// Sometimes the trap handler needs to record both PC and NPC.
// This is a SPARC-specific companion to Thread::set_saved_exception_pc.
address _saved_exception_npc;
--- 30,40 ----
void pd_initialize() {
_anchor.clear();
_base_of_stack_pointer = NULL;
}
! frame pd_last_frame();
// Sometimes the trap handler needs to record both PC and NPC.
// This is a SPARC-specific companion to Thread::set_saved_exception_pc.
address _saved_exception_npc;
< prev index next >