hotspot/src/cpu/aarch64/vm/interp_masm_aarch64.cpp
changeset 35125 6982b109eeee
parent 34271 b2bbfc960e8f
child 35148 5cfafc99d791
--- a/hotspot/src/cpu/aarch64/vm/interp_masm_aarch64.cpp	Tue Dec 15 21:17:50 2015 +0000
+++ b/hotspot/src/cpu/aarch64/vm/interp_masm_aarch64.cpp	Tue Dec 15 19:18:05 2015 +0000
@@ -1354,9 +1354,8 @@
   // the code to check if the event should be sent.
   if (JvmtiExport::can_post_interpreter_events()) {
     Label L;
-    ldr(r3, Address(rthread, JavaThread::interp_only_mode_offset()));
-    tst(r3, ~0);
-    br(Assembler::EQ, L);
+    ldrw(r3, Address(rthread, JavaThread::interp_only_mode_offset()));
+    cbzw(r3, L);
     call_VM(noreg, CAST_FROM_FN_PTR(address,
                                     InterpreterRuntime::post_method_entry));
     bind(L);