Print this page
rev 1025 : imported patch indy.compiler.patch
rev 1026 : imported patch 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 ↓ 99 lines elided ↑ open up ↑
 100  100    static CallGenerator* for_warm_call(WarmCallInfo* ci,
 101  101                                        CallGenerator* if_cold,
 102  102                                        CallGenerator* if_hot);
 103  103  
 104  104    // How to make a call that optimistically assumes a receiver type:
 105  105    static CallGenerator* for_predicted_call(ciKlass* predicted_receiver,
 106  106                                             CallGenerator* if_missed,
 107  107                                             CallGenerator* if_hit,
 108  108                                             float hit_prob);
 109  109  
      110 +  // How to make a call that optimistically assumes a MethodHandle target:
      111 +  static CallGenerator* for_predicted_dynamic_call(ciMethodHandle* predicted_method_handle,
      112 +                                                   CallGenerator* if_missed,
      113 +                                                   CallGenerator* if_hit,
      114 +                                                   float hit_prob);
      115 +
 110  116    // How to make a call that gives up and goes back to the interpreter:
 111  117    static CallGenerator* for_uncommon_trap(ciMethod* m,
 112  118                                            Deoptimization::DeoptReason reason,
 113  119                                            Deoptimization::DeoptAction action);
 114  120  
 115  121    // Registry for intrinsics:
 116  122    static CallGenerator* for_intrinsic(ciMethod* m);
 117  123    static void register_intrinsic(ciMethod* m, CallGenerator* cg);
 118  124  };
 119  125  
↓ open down ↓ 148 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX