8013041: guarantee(this->is8bit(imm8)) failed: Short forward jump exceeds 8-bit offset.
Summary: Change jmpb() to jmp().
Reviewed-by: coleenp, rdurbin, dcubed
--- a/hotspot/src/cpu/x86/vm/templateInterpreter_x86_32.cpp Wed Apr 24 09:42:08 2013 +0200
+++ b/hotspot/src/cpu/x86/vm/templateInterpreter_x86_32.cpp Wed Apr 24 18:20:04 2013 -0400
@@ -360,7 +360,7 @@
const Address mdo_invocation_counter(rax, in_bytes(MethodData::invocation_counter_offset()) +
in_bytes(InvocationCounter::counter_offset()));
__ increment_mask_and_jump(mdo_invocation_counter, increment, mask, rcx, false, Assembler::zero, overflow);
- __ jmpb(done);
+ __ jmp(done);
}
__ bind(no_mdo);
// Increment counter in MethodCounters
--- a/hotspot/src/cpu/x86/vm/templateInterpreter_x86_64.cpp Wed Apr 24 09:42:08 2013 +0200
+++ b/hotspot/src/cpu/x86/vm/templateInterpreter_x86_64.cpp Wed Apr 24 18:20:04 2013 -0400
@@ -315,7 +315,7 @@
const Address mdo_invocation_counter(rax, in_bytes(MethodData::invocation_counter_offset()) +
in_bytes(InvocationCounter::counter_offset()));
__ increment_mask_and_jump(mdo_invocation_counter, increment, mask, rcx, false, Assembler::zero, overflow);
- __ jmpb(done);
+ __ jmp(done);
}
__ bind(no_mdo);
// Increment counter in MethodCounters