13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 #include "precompiled.hpp"
26 #include "ci/ciReplay.hpp"
27 #include "classfile/systemDictionary.hpp"
28 #include "classfile/vmSymbols.hpp"
29 #include "compiler/compileBroker.hpp"
30 #include "compiler/compilerEvent.hpp"
31 #include "compiler/compileLog.hpp"
32 #include "interpreter/linkResolver.hpp"
33 #include "oops/objArrayKlass.hpp"
34 #include "opto/callGenerator.hpp"
35 #include "opto/parse.hpp"
36 #include "runtime/handles.inline.hpp"
37 #include "utilities/events.hpp"
38
39 //=============================================================================
40 //------------------------------InlineTree-------------------------------------
41 InlineTree::InlineTree(Compile* c,
42 const InlineTree *caller_tree, ciMethod* callee,
43 JVMState* caller_jvms, int caller_bci,
44 float site_invoke_ratio, int max_inline_level) :
45 C(c),
46 _caller_jvms(caller_jvms),
47 _method(callee),
48 _caller_tree((InlineTree*) caller_tree),
49 _count_inline_bcs(method()->code_size_for_inlining()),
50 _site_invoke_ratio(site_invoke_ratio),
51 _max_inline_level(max_inline_level),
52 _subtrees(c->comp_arena(), 2, 0, NULL),
|
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 #include "precompiled.hpp"
26 #include "ci/ciReplay.hpp"
27 #include "classfile/systemDictionary.hpp"
28 #include "classfile/vmSymbols.hpp"
29 #include "compiler/compileBroker.hpp"
30 #include "compiler/compilerEvent.hpp"
31 #include "compiler/compileLog.hpp"
32 #include "interpreter/linkResolver.hpp"
33 #include "jfr/jfrEvents.hpp"
34 #include "oops/objArrayKlass.hpp"
35 #include "opto/callGenerator.hpp"
36 #include "opto/parse.hpp"
37 #include "runtime/handles.inline.hpp"
38 #include "utilities/events.hpp"
39
40 //=============================================================================
41 //------------------------------InlineTree-------------------------------------
42 InlineTree::InlineTree(Compile* c,
43 const InlineTree *caller_tree, ciMethod* callee,
44 JVMState* caller_jvms, int caller_bci,
45 float site_invoke_ratio, int max_inline_level) :
46 C(c),
47 _caller_jvms(caller_jvms),
48 _method(callee),
49 _caller_tree((InlineTree*) caller_tree),
50 _count_inline_bcs(method()->code_size_for_inlining()),
51 _site_invoke_ratio(site_invoke_ratio),
52 _max_inline_level(max_inline_level),
53 _subtrees(c->comp_arena(), 2, 0, NULL),
|