src/share/vm/opto/callGenerator.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File 8022585 Sdiff src/share/vm/opto

src/share/vm/opto/callGenerator.hpp

Print this page




 142   static CallGenerator* for_predicted_dynamic_call(ciMethodHandle* predicted_method_handle,
 143                                                    CallGenerator* if_missed,
 144                                                    CallGenerator* if_hit,
 145                                                    float hit_prob);
 146 
 147   // How to make a call that gives up and goes back to the interpreter:
 148   static CallGenerator* for_uncommon_trap(ciMethod* m,
 149                                           Deoptimization::DeoptReason reason,
 150                                           Deoptimization::DeoptAction action);
 151 
 152   // Registry for intrinsics:
 153   static CallGenerator* for_intrinsic(ciMethod* m);
 154   static void register_intrinsic(ciMethod* m, CallGenerator* cg);
 155   static CallGenerator* for_predicted_intrinsic(CallGenerator* intrinsic,
 156                                                 CallGenerator* cg);
 157   virtual Node* generate_predicate(JVMState* jvms) { return NULL; };
 158 
 159   virtual void print_inlining_late(const char* msg) { ShouldNotReachHere(); }
 160 
 161   static void print_inlining(Compile* C, ciMethod* callee, int inline_level, int bci, const char* msg) {
 162     if (PrintInlining)
 163       C->print_inlining(callee, inline_level, bci, msg);
 164   }

 165 };
 166 
 167 
 168 //------------------------InlineCallGenerator----------------------------------
 169 class InlineCallGenerator : public CallGenerator {
 170  protected:
 171   InlineCallGenerator(ciMethod* method) : CallGenerator(method) {}
 172 
 173  public:
 174   virtual bool      is_inline() const           { return true; }
 175 };
 176 
 177 
 178 //---------------------------WarmCallInfo--------------------------------------
 179 // A struct to collect information about a given call site.
 180 // Helps sort call sites into "hot", "medium", and "cold".
 181 // Participates in the queueing of "medium" call sites for possible inlining.
 182 class WarmCallInfo : public ResourceObj {
 183  private:
 184 




 142   static CallGenerator* for_predicted_dynamic_call(ciMethodHandle* predicted_method_handle,
 143                                                    CallGenerator* if_missed,
 144                                                    CallGenerator* if_hit,
 145                                                    float hit_prob);
 146 
 147   // How to make a call that gives up and goes back to the interpreter:
 148   static CallGenerator* for_uncommon_trap(ciMethod* m,
 149                                           Deoptimization::DeoptReason reason,
 150                                           Deoptimization::DeoptAction action);
 151 
 152   // Registry for intrinsics:
 153   static CallGenerator* for_intrinsic(ciMethod* m);
 154   static void register_intrinsic(ciMethod* m, CallGenerator* cg);
 155   static CallGenerator* for_predicted_intrinsic(CallGenerator* intrinsic,
 156                                                 CallGenerator* cg);
 157   virtual Node* generate_predicate(JVMState* jvms) { return NULL; };
 158 
 159   virtual void print_inlining_late(const char* msg) { ShouldNotReachHere(); }
 160 
 161   static void print_inlining(Compile* C, ciMethod* callee, int inline_level, int bci, const char* msg) {
 162     if (C->print_inlining()) {
 163       C->print_inlining(callee, inline_level, bci, msg);
 164     }
 165   }
 166 };
 167 
 168 
 169 //------------------------InlineCallGenerator----------------------------------
 170 class InlineCallGenerator : public CallGenerator {
 171  protected:
 172   InlineCallGenerator(ciMethod* method) : CallGenerator(method) {}
 173 
 174  public:
 175   virtual bool      is_inline() const           { return true; }
 176 };
 177 
 178 
 179 //---------------------------WarmCallInfo--------------------------------------
 180 // A struct to collect information about a given call site.
 181 // Helps sort call sites into "hot", "medium", and "cold".
 182 // Participates in the queueing of "medium" call sites for possible inlining.
 183 class WarmCallInfo : public ResourceObj {
 184  private:
 185 


src/share/vm/opto/callGenerator.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File