Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/thread.cpp @ 7428:2d6c433b1f38
8004741: Missing compiled exception handle table entry for multidimensional array allocation
Summary: Added missing exception path for multidimensional array allocation and use Throwable type instead of OutOfMemoryError for allocation's exception.
Reviewed-by: twisti
author | kvn |
---|---|
date | Wed, 19 Dec 2012 19:21:15 -0800 |
parents | d2f8c38e543d |
children | 69627aa9ab10 |
comparison
equal
deleted
inserted
replaced
7427:2c7f594145dc | 7428:2d6c433b1f38 |
---|---|
2188 frame f = last_frame(); | 2188 frame f = last_frame(); |
2189 if (f.is_runtime_frame() || f.is_safepoint_blob_frame()) { | 2189 if (f.is_runtime_frame() || f.is_safepoint_blob_frame()) { |
2190 // BiasedLocking needs an updated RegisterMap for the revoke monitors pass | 2190 // BiasedLocking needs an updated RegisterMap for the revoke monitors pass |
2191 RegisterMap reg_map(this, UseBiasedLocking); | 2191 RegisterMap reg_map(this, UseBiasedLocking); |
2192 frame compiled_frame = f.sender(®_map); | 2192 frame compiled_frame = f.sender(®_map); |
2193 if (compiled_frame.can_be_deoptimized()) { | 2193 if (!StressCompiledExceptionHandlers && compiled_frame.can_be_deoptimized()) { |
2194 Deoptimization::deoptimize(this, compiled_frame, ®_map); | 2194 Deoptimization::deoptimize(this, compiled_frame, ®_map); |
2195 } | 2195 } |
2196 } | 2196 } |
2197 } | 2197 } |
2198 | 2198 |