mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8253717: Relocate stack overflow code out of thread.hpp/cpp
Reviewed-by: rehn, dcubed, dholmes, stuefe
This commit is contained in:
parent
782d45bdec
commit
6bc493188b
50 changed files with 774 additions and 662 deletions
|
@ -548,7 +548,7 @@ JRT_ENTRY(address, InterpreterRuntime::exception_handler_for_exception(JavaThrea
|
|||
|
||||
address continuation = NULL;
|
||||
address handler_pc = NULL;
|
||||
if (handler_bci < 0 || !thread->reguard_stack((address) &continuation)) {
|
||||
if (handler_bci < 0 || !thread->stack_overflow_state()->reguard_stack((address) &continuation)) {
|
||||
// Forward exception to callee (leaving bci/bcp untouched) because (a) no
|
||||
// handler in this method, or (b) after a stack overflow there is not yet
|
||||
// enough stack space available to reprotect the stack.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue