src/hotspot/cpu/x86/gc/z/zBarrierSetAssembler_x86.cpp
changeset 58273 08a5148e7c4e
parent 53844 8323fdac6da5
child 58516 d376d86b0a01
equal deleted inserted replaced
58272:e27564cd10e3 58273:08a5148e7c4e
   196                                     Register tmp1,
   196                                     Register tmp1,
   197                                     Register tmp2) {
   197                                     Register tmp2) {
   198   BLOCK_COMMENT("ZBarrierSetAssembler::store_at {");
   198   BLOCK_COMMENT("ZBarrierSetAssembler::store_at {");
   199 
   199 
   200   // Verify oop store
   200   // Verify oop store
   201   if (type == T_OBJECT || type == T_ARRAY) {
   201   if (is_reference_type(type)) {
   202     // Note that src could be noreg, which means we
   202     // Note that src could be noreg, which means we
   203     // are storing null and can skip verification.
   203     // are storing null and can skip verification.
   204     if (src != noreg) {
   204     if (src != noreg) {
   205       Label done;
   205       Label done;
   206       __ testptr(src, address_bad_mask_from_thread(r15_thread));
   206       __ testptr(src, address_bad_mask_from_thread(r15_thread));