< prev index next >

src/cpu/aarch64/vm/interp_masm_aarch64.cpp

Print this page

        

@@ -271,10 +271,11 @@
   get_constant_pool(result);
   // load pointer for resolved_references[] objArray
   ldr(result, Address(result, ConstantPool::resolved_references_offset_in_bytes()));
   // JNIHandles::resolve(obj);
   ldr(result, Address(result, 0));
+  oopDesc::bs()->interpreter_read_barrier_not_null(this, result);
   // Add in the index
   add(result, result, tmp);
   load_heap_oop(result, Address(result, arrayOopDesc::base_offset_in_bytes(T_OBJECT)));
 }
 
< prev index next >