< prev index next >

src/hotspot/cpu/aarch64/gc/shenandoah/shenandoahBarrierSetAssembler_aarch64.hpp

Print this page




  54                                     bool tosca_live,
  55                                     bool expand_call);
  56 
  57   void resolve_forward_pointer(MacroAssembler* masm, Register dst, Register tmp = noreg);
  58   void resolve_forward_pointer_not_null(MacroAssembler* masm, Register dst, Register tmp = noreg);
  59   void load_reference_barrier(MacroAssembler* masm, Register dst, Register tmp);
  60   void load_reference_barrier_not_null(MacroAssembler* masm, Register dst, Register tmp);
  61   void load_reference_barrier_native(MacroAssembler* masm, Register dst, Register tmp);
  62 
  63   address generate_shenandoah_lrb(StubCodeGenerator* cgen);
  64 
  65 public:
  66   static address shenandoah_lrb();
  67 
  68   void storeval_barrier(MacroAssembler* masm, Register dst, Register tmp);
  69 
  70 #ifdef COMPILER1
  71   void gen_pre_barrier_stub(LIR_Assembler* ce, ShenandoahPreBarrierStub* stub);
  72   void gen_load_reference_barrier_stub(LIR_Assembler* ce, ShenandoahLoadReferenceBarrierStub* stub);
  73   void generate_c1_pre_barrier_runtime_stub(StubAssembler* sasm);

  74 #endif
  75 
  76   virtual void arraycopy_prologue(MacroAssembler* masm, DecoratorSet decorators, bool is_oop,
  77                                   Register src, Register dst, Register count, RegSet saved_regs);
  78   virtual void arraycopy_epilogue(MacroAssembler* masm, DecoratorSet decorators, bool is_oop,
  79                                   Register start, Register count, Register tmp, RegSet saved_regs);
  80   virtual void load_at(MacroAssembler* masm, DecoratorSet decorators, BasicType type,
  81                        Register dst, Address src, Register tmp1, Register tmp_thread);
  82   virtual void store_at(MacroAssembler* masm, DecoratorSet decorators, BasicType type,
  83                         Address dst, Register val, Register tmp1, Register tmp2);
  84   virtual void try_resolve_jobject_in_native(MacroAssembler* masm, Register jni_env,
  85                                              Register obj, Register tmp, Label& slowpath);
  86   void cmpxchg_oop(MacroAssembler* masm, Register addr, Register expected, Register new_val,
  87                    bool acquire, bool release, bool weak, bool is_cae, Register result);
  88 
  89   virtual void barrier_stubs_init();
  90 };
  91 
  92 #endif // CPU_AARCH64_GC_SHENANDOAH_SHENANDOAHBARRIERSETASSEMBLER_AARCH64_HPP


  54                                     bool tosca_live,
  55                                     bool expand_call);
  56 
  57   void resolve_forward_pointer(MacroAssembler* masm, Register dst, Register tmp = noreg);
  58   void resolve_forward_pointer_not_null(MacroAssembler* masm, Register dst, Register tmp = noreg);
  59   void load_reference_barrier(MacroAssembler* masm, Register dst, Register tmp);
  60   void load_reference_barrier_not_null(MacroAssembler* masm, Register dst, Register tmp);
  61   void load_reference_barrier_native(MacroAssembler* masm, Register dst, Register tmp);
  62 
  63   address generate_shenandoah_lrb(StubCodeGenerator* cgen);
  64 
  65 public:
  66   static address shenandoah_lrb();
  67 
  68   void storeval_barrier(MacroAssembler* masm, Register dst, Register tmp);
  69 
  70 #ifdef COMPILER1
  71   void gen_pre_barrier_stub(LIR_Assembler* ce, ShenandoahPreBarrierStub* stub);
  72   void gen_load_reference_barrier_stub(LIR_Assembler* ce, ShenandoahLoadReferenceBarrierStub* stub);
  73   void generate_c1_pre_barrier_runtime_stub(StubAssembler* sasm);
  74   void generate_c1_load_reference_barrier_runtime_stub(StubAssembler* sasm);
  75 #endif
  76 
  77   virtual void arraycopy_prologue(MacroAssembler* masm, DecoratorSet decorators, bool is_oop,
  78                                   Register src, Register dst, Register count, RegSet saved_regs);
  79   virtual void arraycopy_epilogue(MacroAssembler* masm, DecoratorSet decorators, bool is_oop,
  80                                   Register start, Register count, Register tmp, RegSet saved_regs);
  81   virtual void load_at(MacroAssembler* masm, DecoratorSet decorators, BasicType type,
  82                        Register dst, Address src, Register tmp1, Register tmp_thread);
  83   virtual void store_at(MacroAssembler* masm, DecoratorSet decorators, BasicType type,
  84                         Address dst, Register val, Register tmp1, Register tmp2);
  85   virtual void try_resolve_jobject_in_native(MacroAssembler* masm, Register jni_env,
  86                                              Register obj, Register tmp, Label& slowpath);
  87   void cmpxchg_oop(MacroAssembler* masm, Register addr, Register expected, Register new_val,
  88                    bool acquire, bool release, bool weak, bool is_cae, Register result);
  89 
  90   virtual void barrier_stubs_init();
  91 };
  92 
  93 #endif // CPU_AARCH64_GC_SHENANDOAH_SHENANDOAHBARRIERSETASSEMBLER_AARCH64_HPP
< prev index next >