< prev index next >

src/share/vm/opto/macro.cpp

Print this page

        

@@ -2395,11 +2395,11 @@
   FastUnlockNode *funlock = new (C) FastUnlockNode( ctrl, obj, box );
   funlock = transform_later( funlock )->as_FastUnlock();
   // Optimize test; set region slot 2
   Node *slow_path = opt_bits_test(ctrl, region, 2, funlock, 0, 0);
 
-  CallNode *call = make_slow_call( (CallNode *) unlock, OptoRuntime::complete_monitor_exit_Type(), CAST_FROM_FN_PTR(address, SharedRuntime::complete_monitor_unlocking_C), "complete_monitor_unlocking_C", slow_path, obj, box );
+  CallNode *call = make_slow_call( (CallNode *) unlock, OptoRuntime::complete_monitor_exit_Type(), OptoRuntime::complete_monitor_unlocking_wrapper()->entry_point(), "complete_monitor_unlocking_wrapper", slow_path, obj, box );
 
   extract_call_projections(call);
 
   assert ( _ioproj_fallthrough == NULL && _ioproj_catchall == NULL &&
            _memproj_catchall == NULL && _catchallcatchproj == NULL, "Unexpected projection from Lock");
< prev index next >