226 CodeBlob* load_reference_barrier_weak_rt_code_blob() {
227 assert(_load_reference_barrier_weak_rt_code_blob != nullptr, "");
228 return _load_reference_barrier_weak_rt_code_blob;
229 }
230
231 CodeBlob* load_reference_barrier_phantom_rt_code_blob() {
232 assert(_load_reference_barrier_phantom_rt_code_blob != nullptr, "");
233 return _load_reference_barrier_phantom_rt_code_blob;
234 }
235
236 protected:
237
238 virtual void store_at_resolved(LIRAccess& access, LIR_Opr value);
239 virtual LIR_Opr resolve_address(LIRAccess& access, bool resolve_in_register);
240 virtual void load_at_resolved(LIRAccess& access, LIR_Opr result);
241
242 virtual LIR_Opr atomic_cmpxchg_at_resolved(LIRAccess& access, LIRItem& cmp_value, LIRItem& new_value);
243
244 virtual LIR_Opr atomic_xchg_at_resolved(LIRAccess& access, LIRItem& value);
245
246 public:
247
248 virtual void generate_c1_runtime_stubs(BufferBlob* buffer_blob);
249 };
250
251 #endif // SHARE_GC_SHENANDOAH_C1_SHENANDOAHBARRIERSETC1_HPP
|
226 CodeBlob* load_reference_barrier_weak_rt_code_blob() {
227 assert(_load_reference_barrier_weak_rt_code_blob != nullptr, "");
228 return _load_reference_barrier_weak_rt_code_blob;
229 }
230
231 CodeBlob* load_reference_barrier_phantom_rt_code_blob() {
232 assert(_load_reference_barrier_phantom_rt_code_blob != nullptr, "");
233 return _load_reference_barrier_phantom_rt_code_blob;
234 }
235
236 protected:
237
238 virtual void store_at_resolved(LIRAccess& access, LIR_Opr value);
239 virtual LIR_Opr resolve_address(LIRAccess& access, bool resolve_in_register);
240 virtual void load_at_resolved(LIRAccess& access, LIR_Opr result);
241
242 virtual LIR_Opr atomic_cmpxchg_at_resolved(LIRAccess& access, LIRItem& cmp_value, LIRItem& new_value);
243
244 virtual LIR_Opr atomic_xchg_at_resolved(LIRAccess& access, LIRItem& value);
245
246 void post_barrier(LIRAccess& access, LIR_Opr addr, LIR_Opr new_val);
247
248 public:
249
250 virtual void generate_c1_runtime_stubs(BufferBlob* buffer_blob);
251 };
252
253 #endif // SHARE_GC_SHENANDOAH_C1_SHENANDOAHBARRIERSETC1_HPP
|