diff src/share/vm/opto/parse3.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 beebba0acc11
children 4fcf990aa34a
line wrap: on
line diff
--- a/src/share/vm/opto/parse3.cpp	Wed Dec 19 15:40:35 2012 -0800
+++ b/src/share/vm/opto/parse3.cpp	Wed Dec 19 19:21:15 2012 -0800
@@ -509,6 +509,7 @@
                           makecon(TypeKlassPtr::make(array_klass)),
                           dims);
   }
+  make_slow_call_ex(c, env()->Throwable_klass(), false);
 
   Node* res = _gvn.transform(new (C) ProjNode(c, TypeFunc::Parms));