76 InlineTree* callee_at(int bci, ciMethod* m) const; |
76 InlineTree* callee_at(int bci, ciMethod* m) const; |
77 int inline_level() const { return stack_depth(); } |
77 int inline_level() const { return stack_depth(); } |
78 int stack_depth() const { return _caller_jvms ? _caller_jvms->depth() : 0; } |
78 int stack_depth() const { return _caller_jvms ? _caller_jvms->depth() : 0; } |
79 |
79 |
80 public: |
80 public: |
|
81 static const char* check_can_parse(ciMethod* callee); |
|
82 |
81 static InlineTree* build_inline_tree_root(); |
83 static InlineTree* build_inline_tree_root(); |
82 static InlineTree* find_subtree_from_root(InlineTree* root, JVMState* jvms, ciMethod* callee, bool create_if_not_found = false); |
84 static InlineTree* find_subtree_from_root(InlineTree* root, JVMState* jvms, ciMethod* callee, bool create_if_not_found = false); |
83 |
85 |
84 // For temporary (stack-allocated, stateless) ilts: |
86 // For temporary (stack-allocated, stateless) ilts: |
85 InlineTree(Compile* c, ciMethod* callee_method, JVMState* caller_jvms, float site_invoke_ratio, int max_inline_level); |
87 InlineTree(Compile* c, ciMethod* callee_method, JVMState* caller_jvms, float site_invoke_ratio, int max_inline_level); |