< prev index next >

src/hotspot/cpu/sparc/gc/g1/g1BarrierSetAssembler_sparc.hpp

BarrierSetC1

*** 26,35 **** --- 26,40 ---- #define CPU_SPARC_GC_G1_G1BARRIERSETASSEMBLER_SPARC_HPP #include "asm/macroAssembler.hpp" #include "gc/shared/modRefBarrierSetAssembler.hpp" + class LIR_Assembler; + class StubAssembler; + class G1PreBarrierStub; + class G1PostBarrierStub; + class G1BarrierSetAssembler: public ModRefBarrierSetAssembler { protected: virtual void gen_write_ref_array_pre_barrier(MacroAssembler* masm, DecoratorSet decorators, Register addr, Register count); virtual void gen_write_ref_array_post_barrier(MacroAssembler* masm, DecoratorSet decorators, Register addr, Register count, Register tmp); ***************
*** 38,47 **** --- 43,58 ---- virtual void oop_store_at(MacroAssembler* masm, DecoratorSet decorators, BasicType type, Register val, Address dst, Register tmp); public: + void gen_g1_pre_barrier_stub(LIR_Assembler* ce, G1PreBarrierStub* stub); + void gen_g1_post_barrier_stub(LIR_Assembler* ce, G1PostBarrierStub* stub); + + void generate_c1_pre_barrier_runtime_stub(StubAssembler* sasm); + void generate_c1_post_barrier_runtime_stub(StubAssembler* sasm); + virtual void load_at(MacroAssembler* masm, DecoratorSet decorators, BasicType type, Address src, Register dst, Register tmp); virtual void barrier_stubs_init(); };
< prev index next >