Print this page


Split Close
Expand all
Collapse all
          --- old/src/share/vm/opto/parse.hpp
          +++ new/src/share/vm/opto/parse.hpp
↓ open down ↓ 60 lines elided ↑ open up ↑
  61   61               const InlineTree* caller_tree,
  62   62               ciMethod* callee_method,
  63   63               JVMState* caller_jvms,
  64   64               int caller_bci,
  65   65               float site_invoke_ratio,
  66   66               int site_depth_adjust);
  67   67    InlineTree *build_inline_tree_for_callee(ciMethod* callee_method,
  68   68                                             JVMState* caller_jvms,
  69   69                                             int caller_bci);
  70   70    const char* try_to_inline(ciMethod* callee_method, ciMethod* caller_method, int caller_bci, ciCallProfile& profile, WarmCallInfo* wci_result);
  71      -  const char* shouldInline(ciMethod* callee_method, ciMethod* caller_method, int caller_bci, ciCallProfile& profile, WarmCallInfo* wci_result) const;
  72      -  const char* shouldNotInline(ciMethod* callee_method, ciMethod* caller_method, WarmCallInfo* wci_result) const;
       71 +  const char* should_inline(ciMethod* callee_method, ciMethod* caller_method, int caller_bci, ciCallProfile& profile, WarmCallInfo* wci_result) const;
       72 +  const char* should_not_inline(ciMethod* callee_method, ciMethod* caller_method, WarmCallInfo* wci_result) const;
  73   73    void        print_inlining(ciMethod *callee_method, int caller_bci, const char *failure_msg) const;
  74   74  
  75   75    InlineTree *caller_tree()       const { return _caller_tree;  }
  76   76    InlineTree* callee_at(int bci, ciMethod* m) const;
  77   77    int         inline_depth()      const { return stack_depth() + _site_depth_adjust; }
  78   78    int         stack_depth()       const { return _caller_jvms ? _caller_jvms->depth() : 0; }
  79   79  
  80   80  public:
  81   81    static InlineTree* build_inline_tree_root();
  82   82    static InlineTree* find_subtree_from_root(InlineTree* root, JVMState* jvms, ciMethod* callee, bool create_if_not_found = false);
↓ open down ↓ 508 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX