< prev index next >

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

Print this page

 59                                         Register start, Register count,
 60                                         Register scratch);
 61 
 62 public:
 63   virtual NMethodPatchingType nmethod_patching_type() { return NMethodPatchingType::conc_instruction_and_data_patch; }
 64 
 65   virtual void arraycopy_prologue(MacroAssembler* masm, DecoratorSet decorators, bool is_oop,
 66                                   Register src, Register dst, Register count, RegSet saved_regs);
 67   virtual void arraycopy_epilogue(MacroAssembler* masm, DecoratorSet decorators, bool is_oop,
 68                                   Register start, Register count, Register tmp);
 69   virtual void load_at(MacroAssembler* masm, DecoratorSet decorators, BasicType type,
 70                        Register dst, Address src, Register tmp1, Register tmp2);
 71   virtual void store_at(MacroAssembler* masm, DecoratorSet decorators, BasicType type,
 72                         Address dst, Register val, Register tmp1, Register tmp2, Register tmp3);
 73   virtual void try_resolve_jobject_in_native(MacroAssembler* masm, Register jni_env,
 74                                              Register obj, Register tmp, Label& slowpath);
 75   virtual void try_peek_weak_handle_in_nmethod(MacroAssembler* masm, Register weak_handle, Register obj,
 76                                                Register tmp, Label& slow_path);
 77   virtual void check_oop(MacroAssembler* masm, Register obj, Register tmp1, Register tmp2, Label& L_error);
 78 







 79 #ifdef COMPILER1
 80   void keepalive_barrier_c1_stub(LIR_Assembler* ce, ShenandoahKeepaliveBarrierStub* stub);
 81   void keepalive_barrier_c1_runtime_stub(StubAssembler* sasm);
 82 
 83   void load_reference_barrier_c1_stub(LIR_Assembler* ce, ShenandoahLoadReferenceBarrierStub* stub);
 84   void load_reference_barrier_c1_runtime_stub(StubAssembler* sasm, DecoratorSet decorators);
 85 #endif
 86 
 87 #ifdef COMPILER2
 88   // Entry points from Matcher
 89   void load_c2(const MachNode* node, MacroAssembler* masm, Register dst, Address addr, Register tmp1, Register tmp2, bool is_narrow, bool is_acquire);
 90   void store_c2(const MachNode* node, MacroAssembler* masm, Address dst, bool dst_narrow, Register src, bool src_narrow, Register tmp1, Register tmp2, Register tmp3, bool is_volatile);
 91   void compare_and_set_c2(const MachNode* node, MacroAssembler* masm, Register res, Register addr, Register oldval,
 92       Register newval, Register tmp1, Register tmp2, Register tmp3, bool exchange, bool narrow, bool weak, bool acquire);
 93   void get_and_set_c2(const MachNode* node, MacroAssembler* masm, Register preval, Register newval, Register addr, Register tmp1, Register tmp2, Register tmp3, bool acquire);
 94 #endif
 95 };
 96 
 97 #endif // CPU_AARCH64_GC_SHENANDOAH_SHENANDOAHBARRIERSETASSEMBLER_AARCH64_HPP

 59                                         Register start, Register count,
 60                                         Register scratch);
 61 
 62 public:
 63   virtual NMethodPatchingType nmethod_patching_type() { return NMethodPatchingType::conc_instruction_and_data_patch; }
 64 
 65   virtual void arraycopy_prologue(MacroAssembler* masm, DecoratorSet decorators, bool is_oop,
 66                                   Register src, Register dst, Register count, RegSet saved_regs);
 67   virtual void arraycopy_epilogue(MacroAssembler* masm, DecoratorSet decorators, bool is_oop,
 68                                   Register start, Register count, Register tmp);
 69   virtual void load_at(MacroAssembler* masm, DecoratorSet decorators, BasicType type,
 70                        Register dst, Address src, Register tmp1, Register tmp2);
 71   virtual void store_at(MacroAssembler* masm, DecoratorSet decorators, BasicType type,
 72                         Address dst, Register val, Register tmp1, Register tmp2, Register tmp3);
 73   virtual void try_resolve_jobject_in_native(MacroAssembler* masm, Register jni_env,
 74                                              Register obj, Register tmp, Label& slowpath);
 75   virtual void try_peek_weak_handle_in_nmethod(MacroAssembler* masm, Register weak_handle, Register obj,
 76                                                Register tmp, Label& slow_path);
 77   virtual void check_oop(MacroAssembler* masm, Register obj, Register tmp1, Register tmp2, Label& L_error);
 78 
 79   // Barrier hotpatching
 80   static address parse_jump_address(address pc);
 81   static void insert_patchable_nop(address pc);
 82   static bool is_patchable_nop(address pc);
 83   static void insert_patchable_jump(address pc, address target_pc);
 84   static bool is_patchable_jump(address pc, address target_pc);
 85 
 86 #ifdef COMPILER1
 87   void keepalive_barrier_c1_stub(LIR_Assembler* ce, ShenandoahKeepaliveBarrierStub* stub);
 88   void keepalive_barrier_c1_runtime_stub(StubAssembler* sasm);
 89 
 90   void load_reference_barrier_c1_stub(LIR_Assembler* ce, ShenandoahLoadReferenceBarrierStub* stub);
 91   void load_reference_barrier_c1_runtime_stub(StubAssembler* sasm, DecoratorSet decorators);
 92 #endif
 93 
 94 #ifdef COMPILER2
 95   // Entry points from Matcher
 96   void load_c2(const MachNode* node, MacroAssembler* masm, Register dst, Address addr, Register tmp1, Register tmp2, bool is_narrow, bool is_acquire);
 97   void store_c2(const MachNode* node, MacroAssembler* masm, Address dst, bool dst_narrow, Register src, bool src_narrow, Register tmp1, Register tmp2, Register tmp3, bool is_volatile);
 98   void compare_and_set_c2(const MachNode* node, MacroAssembler* masm, Register res, Register addr, Register oldval,
 99       Register newval, Register tmp1, Register tmp2, Register tmp3, bool exchange, bool narrow, bool weak, bool acquire);
100   void get_and_set_c2(const MachNode* node, MacroAssembler* masm, Register preval, Register newval, Register addr, Register tmp1, Register tmp2, Register tmp3, bool acquire);
101 #endif
102 };
103 
104 #endif // CPU_AARCH64_GC_SHENANDOAH_SHENANDOAHBARRIERSETASSEMBLER_AARCH64_HPP
< prev index next >