< prev index next >
src/hotspot/os_cpu/solaris_x86/thread_solaris_x86.cpp
Print this page
rev 58072 : [mq]: v2
*** 1,7 ****
/*
! * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
--- 1,7 ----
/*
! * Copyright (c) 2003, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*** 82,97 ****
return false;
}
// If sp and fp are nonsense just leave them out
! if (!jt->on_local_stack((address)ret_sp)) {
ret_sp = NULL;
ret_fp = NULL;
} else {
// sp is reasonable is fp reasonable?
! if ((address)ret_fp >= jt->stack_base() || ret_fp < ret_sp) {
ret_fp = NULL;
}
}
frame ret_frame(ret_sp, ret_fp, addr.pc());
--- 82,97 ----
return false;
}
// If sp and fp are nonsense just leave them out
! if (!jt->is_in_full_stack((address)ret_sp)) {
ret_sp = NULL;
ret_fp = NULL;
} else {
// sp is reasonable is fp reasonable?
! if (!jt->is_in_stack_range_incl((address)ret_fp, ret_sp)) {
ret_fp = NULL;
}
}
frame ret_frame(ret_sp, ret_fp, addr.pc());
*** 100,105 ****
return true;
}
void JavaThread::cache_global_variables() { }
-
--- 100,104 ----
< prev index next >