mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8004741: Missing compiled exception handle table entry for multidimensional array allocation
Added missing exception path for multidimensional array allocation and use Throwable type instead of OutOfMemoryError for allocation's exception. Reviewed-by: twisti
This commit is contained in:
parent
960d969ade
commit
e508acf372
7 changed files with 117 additions and 13 deletions
|
@ -2190,7 +2190,7 @@ void JavaThread::send_thread_stop(oop java_throwable) {
|
|||
// BiasedLocking needs an updated RegisterMap for the revoke monitors pass
|
||||
RegisterMap reg_map(this, UseBiasedLocking);
|
||||
frame compiled_frame = f.sender(®_map);
|
||||
if (compiled_frame.can_be_deoptimized()) {
|
||||
if (!StressCompiledExceptionHandlers && compiled_frame.can_be_deoptimized()) {
|
||||
Deoptimization::deoptimize(this, compiled_frame, ®_map);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue