1.1 --- a/src/share/vm/opto/graphKit.cpp Wed Dec 19 15:40:35 2012 -0800 1.2 +++ b/src/share/vm/opto/graphKit.cpp Wed Dec 19 19:21:15 2012 -0800 1.3 @@ -2990,7 +2990,7 @@ 1.4 set_control( _gvn.transform(new (C) ProjNode(allocx, TypeFunc::Control) ) ); 1.5 // create memory projection for i_o 1.6 set_memory ( _gvn.transform( new (C) ProjNode(allocx, TypeFunc::Memory, true) ), rawidx ); 1.7 - make_slow_call_ex(allocx, env()->OutOfMemoryError_klass(), true); 1.8 + make_slow_call_ex(allocx, env()->Throwable_klass(), true); 1.9 1.10 // create a memory projection as for the normal control path 1.11 Node* malloc = _gvn.transform(new (C) ProjNode(allocx, TypeFunc::Memory));