diff 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
line wrap: on
line diff
--- a/src/share/vm/runtime/thread.cpp	Wed Dec 19 15:40:35 2012 -0800
+++ b/src/share/vm/runtime/thread.cpp	Wed Dec 19 19:21:15 2012 -0800
@@ -2190,7 +2190,7 @@
           // BiasedLocking needs an updated RegisterMap for the revoke monitors pass
           RegisterMap reg_map(this, UseBiasedLocking);
           frame compiled_frame = f.sender(&reg_map);
-          if (compiled_frame.can_be_deoptimized()) {
+          if (!StressCompiledExceptionHandlers && compiled_frame.can_be_deoptimized()) {
             Deoptimization::deoptimize(this, compiled_frame, &reg_map);
           }
         }