src/cpu/x86/vm/templateInterpreter_x86_64.cpp

changeset 4973
47766e2d2527
parent 4936
aeaca88565e6
child 5225
603ca7e51354
equal deleted inserted replaced
4972:6a3629cf7075 4973:47766e2d2527
313 __ jccb(Assembler::zero, no_mdo); 313 __ jccb(Assembler::zero, no_mdo);
314 // Increment counter in the MDO 314 // Increment counter in the MDO
315 const Address mdo_invocation_counter(rax, in_bytes(MethodData::invocation_counter_offset()) + 315 const Address mdo_invocation_counter(rax, in_bytes(MethodData::invocation_counter_offset()) +
316 in_bytes(InvocationCounter::counter_offset())); 316 in_bytes(InvocationCounter::counter_offset()));
317 __ increment_mask_and_jump(mdo_invocation_counter, increment, mask, rcx, false, Assembler::zero, overflow); 317 __ increment_mask_and_jump(mdo_invocation_counter, increment, mask, rcx, false, Assembler::zero, overflow);
318 __ jmpb(done); 318 __ jmp(done);
319 } 319 }
320 __ bind(no_mdo); 320 __ bind(no_mdo);
321 // Increment counter in MethodCounters 321 // Increment counter in MethodCounters
322 const Address invocation_counter(rax, 322 const Address invocation_counter(rax,
323 MethodCounters::invocation_counter_offset() + 323 MethodCounters::invocation_counter_offset() +

mercurial