--- old/src/cpu/x86/vm/templateTable_x86.cpp 2015-10-08 07:23:26.000000000 -1000 +++ new/src/cpu/x86/vm/templateTable_x86.cpp 2015-10-08 07:23:26.000000000 -1000 @@ -3595,6 +3595,8 @@ __ profile_virtual_call(rax, rlocals, rdx); // get target Method* & entry point __ lookup_virtual_method(rax, index, method); + __ profile_called_method(method, rdx, rbcp); + __ profile_arguments_type(rdx, method, rbcp, true); __ jump_from_interpreted(method, rdx); } @@ -3694,6 +3696,7 @@ __ testptr(rbx, rbx); __ jcc(Assembler::zero, no_such_method); + __ profile_called_method(rbx, rbcp, rdx); __ profile_arguments_type(rdx, rbx, rbcp, true); // do the call