src/share/vm/opto/graphKit.cpp

changeset 4364
2d6c433b1f38
parent 4357
ad5dd04754ee
child 4409
d092d1b31229
     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));

mercurial