@@ -1189,6 +1189,8 @@ void ZBarrierSetAssembler::generate_c2_store_barrier_stub(MacroAssembler* masm,
11891189 __ lea (rscratch1, RuntimeAddress (ZBarrierSetRuntime::store_barrier_on_native_oop_field_without_healing_addr ()));
11901190 } else if (stub->is_atomic ()) {
11911191 __ lea (rscratch1, RuntimeAddress (ZBarrierSetRuntime::store_barrier_on_oop_field_with_healing_addr ()));
1192+ } else if (stub->is_nokeepalive ()) {
1193+ __ lea (rscratch1, RuntimeAddress (ZBarrierSetRuntime::no_keepalive_store_barrier_on_oop_field_without_healing_addr ()));
11921194 } else {
11931195 __ lea (rscratch1, RuntimeAddress (ZBarrierSetRuntime::store_barrier_on_oop_field_without_healing_addr ()));
11941196 }
@@ -1307,11 +1309,11 @@ Label* ZLoadBarrierStubC2Aarch64::entry() {
13071309 return ZBarrierStubC2::entry ();
13081310}
13091311
1310- ZStoreBarrierStubC2Aarch64::ZStoreBarrierStubC2Aarch64 (const MachNode* node, Address ref_addr, Register new_zaddress, Register new_zpointer, bool is_native, bool is_atomic)
1311- : ZStoreBarrierStubC2(node, ref_addr, new_zaddress, new_zpointer, is_native, is_atomic), _deferred_emit(false ) {}
1312+ ZStoreBarrierStubC2Aarch64::ZStoreBarrierStubC2Aarch64 (const MachNode* node, Address ref_addr, Register new_zaddress, Register new_zpointer, bool is_native, bool is_atomic, bool is_nokeepalive )
1313+ : ZStoreBarrierStubC2(node, ref_addr, new_zaddress, new_zpointer, is_native, is_atomic, is_nokeepalive ), _deferred_emit(false ) {}
13121314
1313- ZStoreBarrierStubC2Aarch64* ZStoreBarrierStubC2Aarch64::create (const MachNode* node, Address ref_addr, Register new_zaddress, Register new_zpointer, bool is_native, bool is_atomic) {
1314- ZStoreBarrierStubC2Aarch64* const stub = new (Compile::current ()->comp_arena ()) ZStoreBarrierStubC2Aarch64 (node, ref_addr, new_zaddress, new_zpointer, is_native, is_atomic);
1315+ ZStoreBarrierStubC2Aarch64* ZStoreBarrierStubC2Aarch64::create (const MachNode* node, Address ref_addr, Register new_zaddress, Register new_zpointer, bool is_native, bool is_atomic, bool is_nokeepalive ) {
1316+ ZStoreBarrierStubC2Aarch64* const stub = new (Compile::current ()->comp_arena ()) ZStoreBarrierStubC2Aarch64 (node, ref_addr, new_zaddress, new_zpointer, is_native, is_atomic, is_nokeepalive );
13151317 register_stub (stub);
13161318 return stub;
13171319}
0 commit comments