Mercurial > hg > truffle
comparison src/share/vm/opto/matcher.cpp @ 3905:c26de9aef2ed
7071307: MethodHandle bimorphic inlining should consider the frequency
Reviewed-by: twisti, roland, kvn, iveresov
author | never |
---|---|
date | Fri, 02 Sep 2011 20:58:21 -0700 |
parents | 1af104d6cf99 |
children | c2d3caa64b3e |
comparison
equal
deleted
inserted
replaced
3902:11a4af030e4b | 3905:c26de9aef2ed |
---|---|
1104 mcall_java->_method = method; | 1104 mcall_java->_method = method; |
1105 mcall_java->_bci = call_java->_bci; | 1105 mcall_java->_bci = call_java->_bci; |
1106 mcall_java->_optimized_virtual = call_java->is_optimized_virtual(); | 1106 mcall_java->_optimized_virtual = call_java->is_optimized_virtual(); |
1107 is_method_handle_invoke = call_java->is_method_handle_invoke(); | 1107 is_method_handle_invoke = call_java->is_method_handle_invoke(); |
1108 mcall_java->_method_handle_invoke = is_method_handle_invoke; | 1108 mcall_java->_method_handle_invoke = is_method_handle_invoke; |
1109 if (is_method_handle_invoke) { | |
1110 C->set_has_method_handle_invokes(true); | |
1111 } | |
1109 if( mcall_java->is_MachCallStaticJava() ) | 1112 if( mcall_java->is_MachCallStaticJava() ) |
1110 mcall_java->as_MachCallStaticJava()->_name = | 1113 mcall_java->as_MachCallStaticJava()->_name = |
1111 call_java->as_CallStaticJava()->_name; | 1114 call_java->as_CallStaticJava()->_name; |
1112 if( mcall_java->is_MachCallDynamicJava() ) | 1115 if( mcall_java->is_MachCallDynamicJava() ) |
1113 mcall_java->as_MachCallDynamicJava()->_vtable_index = | 1116 mcall_java->as_MachCallDynamicJava()->_vtable_index = |