8013041: guarantee(this->is8bit(imm8)) failed: Short forward jump exceeds 8-bit offset.

Wed, 24 Apr 2013 18:20:04 -0400

author
jiangli
date
Wed, 24 Apr 2013 18:20:04 -0400
changeset 4973
47766e2d2527
parent 4972
6a3629cf7075
child 4974
e8a7a5995e65
child 5027
e12c9b3740db

8013041: guarantee(this->is8bit(imm8)) failed: Short forward jump exceeds 8-bit offset.
Summary: Change jmpb() to jmp().
Reviewed-by: coleenp, rdurbin, dcubed

src/cpu/x86/vm/templateInterpreter_x86_32.cpp file | annotate | diff | comparison | revisions
src/cpu/x86/vm/templateInterpreter_x86_64.cpp file | annotate | diff | comparison | revisions
     1.1 --- a/src/cpu/x86/vm/templateInterpreter_x86_32.cpp	Wed Apr 24 09:42:08 2013 +0200
     1.2 +++ b/src/cpu/x86/vm/templateInterpreter_x86_32.cpp	Wed Apr 24 18:20:04 2013 -0400
     1.3 @@ -360,7 +360,7 @@
     1.4        const Address mdo_invocation_counter(rax, in_bytes(MethodData::invocation_counter_offset()) +
     1.5                                                  in_bytes(InvocationCounter::counter_offset()));
     1.6        __ increment_mask_and_jump(mdo_invocation_counter, increment, mask, rcx, false, Assembler::zero, overflow);
     1.7 -      __ jmpb(done);
     1.8 +      __ jmp(done);
     1.9      }
    1.10      __ bind(no_mdo);
    1.11      // Increment counter in MethodCounters
     2.1 --- a/src/cpu/x86/vm/templateInterpreter_x86_64.cpp	Wed Apr 24 09:42:08 2013 +0200
     2.2 +++ b/src/cpu/x86/vm/templateInterpreter_x86_64.cpp	Wed Apr 24 18:20:04 2013 -0400
     2.3 @@ -315,7 +315,7 @@
     2.4        const Address mdo_invocation_counter(rax, in_bytes(MethodData::invocation_counter_offset()) +
     2.5                                                  in_bytes(InvocationCounter::counter_offset()));
     2.6        __ increment_mask_and_jump(mdo_invocation_counter, increment, mask, rcx, false, Assembler::zero, overflow);
     2.7 -      __ jmpb(done);
     2.8 +      __ jmp(done);
     2.9      }
    2.10      __ bind(no_mdo);
    2.11      // Increment counter in MethodCounters

mercurial