52 int caller_bci, |
52 int caller_bci, |
53 float site_invoke_ratio); |
53 float site_invoke_ratio); |
54 InlineTree *build_inline_tree_for_callee(ciMethod* callee_method, |
54 InlineTree *build_inline_tree_for_callee(ciMethod* callee_method, |
55 JVMState* caller_jvms, |
55 JVMState* caller_jvms, |
56 int caller_bci); |
56 int caller_bci); |
57 const char* try_to_inline(ciMethod* callee_method, int caller_bci, ciCallProfile& profile, WarmCallInfo* wci_result); |
57 const char* try_to_inline(ciMethod* callee_method, ciMethod* caller_method, int caller_bci, ciCallProfile& profile, WarmCallInfo* wci_result); |
58 const char* shouldInline(ciMethod* callee_method, int caller_bci, ciCallProfile& profile, WarmCallInfo* wci_result) const; |
58 const char* shouldInline(ciMethod* callee_method, ciMethod* caller_method, int caller_bci, ciCallProfile& profile, WarmCallInfo* wci_result) const; |
59 const char* shouldNotInline(ciMethod* callee_method, WarmCallInfo* wci_result) const; |
59 const char* shouldNotInline(ciMethod* callee_method, ciMethod* caller_method, WarmCallInfo* wci_result) const; |
60 void print_inlining(ciMethod *callee_method, int caller_bci, const char *failure_msg) const PRODUCT_RETURN; |
60 void print_inlining(ciMethod *callee_method, int caller_bci, const char *failure_msg) const PRODUCT_RETURN; |
61 |
61 |
62 InlineTree *caller_tree() const { return _caller_tree; } |
62 InlineTree *caller_tree() const { return _caller_tree; } |
63 InlineTree* callee_at(int bci, ciMethod* m) const; |
63 InlineTree* callee_at(int bci, ciMethod* m) const; |
64 int inline_depth() const { return _caller_jvms ? _caller_jvms->depth() : 0; } |
64 int inline_depth() const { return _caller_jvms ? _caller_jvms->depth() : 0; } |