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:
Vladimir Kozlov 2012-12-19 19:21:15 -08:00
parent 960d969ade
commit e508acf372
7 changed files with 117 additions and 13 deletions

View file

@ -509,6 +509,7 @@ void Parse::do_multianewarray() {
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));