src/cpu/x86/vm/templateTable_x86.cpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
*** old/src/cpu/x86/vm/templateTable_x86.cpp Wed Sep 16 15:17:54 2015
--- new/src/cpu/x86/vm/templateTable_x86.cpp Wed Sep 16 15:17:54 2015
*** 3593,3602 ****
--- 3593,3606 ----
// profile this call
__ profile_virtual_call(rax, rlocals, rdx);
// get target Method* & entry point
__ lookup_virtual_method(rax, index, method);
+ #if INCLUDE_JVMCI
+ __ profile_called_method(method, rdx, rbcp);
+ #endif
+
__ profile_arguments_type(rdx, method, rbcp, true);
__ jump_from_interpreted(method, rdx);
}
void TemplateTable::invokevirtual(int byte_no) {
*** 3692,3701 ****
--- 3696,3708 ----
// interpreter entry point and a conditional jump to it in case of a null
// method.
__ testptr(rbx, rbx);
__ jcc(Assembler::zero, no_such_method);
+ #if INCLUDE_JVMCI
+ __ profile_called_method(rbx, rbcp, rdx);
+ #endif
__ profile_arguments_type(rdx, rbx, rbcp, true);
// do the call
// rcx: receiver
// rbx,: Method*
src/cpu/x86/vm/templateTable_x86.cpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File