< prev index next >

src/hotspot/cpu/aarch64/templateInterpreterGenerator_aarch64.cpp

Print this page

        

@@ -927,13 +927,15 @@
 
     __ mov(r19, r13);   // Move senderSP to a callee-saved register
 
     // Generate the G1 pre-barrier code to log the value of
     // the referent field in an SATB buffer.
+    __ enter(); // g1_write may call runtime
     __ keep_alive_barrier(local_0 /* pre_val */,
                           rthread /* thread */,
                           rscratch2 /* tmp */);
+    __ leave();
     // areturn
     __ andr(sp, r19, -16);  // done with stack
     __ ret(lr);
 
     // generate a vanilla interpreter entry as the slow path
< prev index next >