changeset 42042 | 681bd315c66e |
parent 40643 | 49539fc14e5a |
child 42051 | 0264f170da65 |
--- a/hotspot/src/cpu/aarch64/vm/frame_aarch64.cpp Fri Oct 21 13:07:32 2016 -0700 +++ b/hotspot/src/cpu/aarch64/vm/frame_aarch64.cpp Fri Oct 21 17:51:33 2016 -0700 @@ -142,6 +142,10 @@ } sender_sp = _unextended_sp + _cb->frame_size(); + // Is sender_sp safe? + if ((address)sender_sp >= thread->stack_base()) { + return false; + } sender_unextended_sp = sender_sp; sender_pc = (address) *(sender_sp-1); // Note: frame::sender_sp_offset is only valid for compiled frame