Print this page
rev 1082 : imported patch indy.compiler.patch
rev 1083 : [mq]: indy.compiler.inline.patch

Split Close
Expand all
Collapse all
          --- old/src/share/vm/opto/callGenerator.hpp
          +++ new/src/share/vm/opto/callGenerator.hpp
↓ open down ↓ 109 lines elided ↑ open up ↑
 110  110    static CallGenerator* for_warm_call(WarmCallInfo* ci,
 111  111                                        CallGenerator* if_cold,
 112  112                                        CallGenerator* if_hot);
 113  113  
 114  114    // How to make a call that optimistically assumes a receiver type:
 115  115    static CallGenerator* for_predicted_call(ciKlass* predicted_receiver,
 116  116                                             CallGenerator* if_missed,
 117  117                                             CallGenerator* if_hit,
 118  118                                             float hit_prob);
 119  119  
      120 +  // How to make a call that optimistically assumes a MethodHandle target:
      121 +  static CallGenerator* for_predicted_dynamic_call(ciMethodHandle* predicted_method_handle,
      122 +                                                   CallGenerator* if_missed,
      123 +                                                   CallGenerator* if_hit,
      124 +                                                   float hit_prob);
      125 +
 120  126    // How to make a call that gives up and goes back to the interpreter:
 121  127    static CallGenerator* for_uncommon_trap(ciMethod* m,
 122  128                                            Deoptimization::DeoptReason reason,
 123  129                                            Deoptimization::DeoptAction action);
 124  130  
 125  131    // Registry for intrinsics:
 126  132    static CallGenerator* for_intrinsic(ciMethod* m);
 127  133    static void register_intrinsic(ciMethod* m, CallGenerator* cg);
 128  134  };
 129  135  
↓ open down ↓ 148 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX