hotspot/src/cpu/x86/vm/interp_masm_x86_64.cpp
changeset 10031 e81ae8b523dc
parent 9437 9981851b4b8c
child 10265 4c869854aebd
equal deleted inserted replaced
10030:5f7e29996174 10031:e81ae8b523dc
   400     // compiled code in threads for which the event is enabled.  Check here for
   400     // compiled code in threads for which the event is enabled.  Check here for
   401     // interp_only_mode if these events CAN be enabled.
   401     // interp_only_mode if these events CAN be enabled.
   402     // interp_only is an int, on little endian it is sufficient to test the byte only
   402     // interp_only is an int, on little endian it is sufficient to test the byte only
   403     // Is a cmpl faster?
   403     // Is a cmpl faster?
   404     cmpb(Address(r15_thread, JavaThread::interp_only_mode_offset()), 0);
   404     cmpb(Address(r15_thread, JavaThread::interp_only_mode_offset()), 0);
   405     jcc(Assembler::zero, run_compiled_code);
   405     jccb(Assembler::zero, run_compiled_code);
   406     jmp(Address(method, methodOopDesc::interpreter_entry_offset()));
   406     jmp(Address(method, methodOopDesc::interpreter_entry_offset()));
   407     bind(run_compiled_code);
   407     bind(run_compiled_code);
   408   }
   408   }
   409 
   409 
   410   jmp(Address(method, methodOopDesc::from_interpreted_offset()));
   410   jmp(Address(method, methodOopDesc::from_interpreted_offset()));