annotate src/hotspot/cpu/arm/gc/g1/g1BarrierSetAssembler_arm.hpp @ 50463:2c2a722a2c0c

8202379: ARM32 is broken after JDK-8201543 (Modularize C1 GC barriers) Reviewed-by: aph, eosterlund
author shade
date Tue, 01 May 2018 19:13:31 +0200
parents 4bb58f644e4e
children 7b916885654d
rev   line source
eosterlund@49949 1 /*
eosterlund@49949 2 * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
eosterlund@49949 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
eosterlund@49949 4 *
eosterlund@49949 5 * This code is free software; you can redistribute it and/or modify it
eosterlund@49949 6 * under the terms of the GNU General Public License version 2 only, as
eosterlund@49949 7 * published by the Free Software Foundation.
eosterlund@49949 8 *
eosterlund@49949 9 * This code is distributed in the hope that it will be useful, but WITHOUT
eosterlund@49949 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
eosterlund@49949 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
eosterlund@49949 12 * version 2 for more details (a copy is included in the LICENSE file that
eosterlund@49949 13 * accompanied this code).
eosterlund@49949 14 *
eosterlund@49949 15 * You should have received a copy of the GNU General Public License version
eosterlund@49949 16 * 2 along with this work; if not, write to the Free Software Foundation,
eosterlund@49949 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
eosterlund@49949 18 *
eosterlund@49949 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
eosterlund@49949 20 * or visit www.oracle.com if you need additional information or have any
eosterlund@49949 21 * questions.
eosterlund@49949 22 *
eosterlund@49949 23 */
eosterlund@49949 24
eosterlund@49949 25 #ifndef CPU_ARM_GC_G1_G1BARRIERSETASSEMBLER_ARM_HPP
eosterlund@49949 26 #define CPU_ARM_GC_G1_G1BARRIERSETASSEMBLER_ARM_HPP
eosterlund@49949 27
eosterlund@49949 28 #include "asm/macroAssembler.hpp"
eosterlund@49949 29 #include "gc/shared/modRefBarrierSetAssembler.hpp"
eosterlund@50431 30 #include "utilities/macros.hpp"
eosterlund@50431 31
eosterlund@50431 32 class LIR_Assembler;
eosterlund@50431 33 class StubAssembler;
eosterlund@50431 34 class G1PreBarrierStub;
eosterlund@50431 35 class G1PostBarrierStub;
eosterlund@49949 36
eosterlund@49949 37 class G1BarrierSetAssembler: public ModRefBarrierSetAssembler {
eosterlund@49949 38 protected:
eosterlund@49949 39 void gen_write_ref_array_pre_barrier(MacroAssembler* masm, DecoratorSet decorators,
dpochepk@50169 40 Register addr, Register count, int callee_saved_regs);
eosterlund@49949 41 void gen_write_ref_array_post_barrier(MacroAssembler* masm, DecoratorSet decorators,
eosterlund@49949 42 Register addr, Register count, Register tmp);
eosterlund@50431 43
eosterlund@50431 44 #ifdef COMPILER1
shade@50463 45 public:
eosterlund@50431 46 void gen_pre_barrier_stub(LIR_Assembler* ce, G1PreBarrierStub* stub);
eosterlund@50431 47 void gen_post_barrier_stub(LIR_Assembler* ce, G1PostBarrierStub* stub);
eosterlund@50431 48
eosterlund@50431 49 void generate_c1_pre_barrier_runtime_stub(StubAssembler* sasm);
eosterlund@50431 50 void generate_c1_post_barrier_runtime_stub(StubAssembler* sasm);
eosterlund@50431 51 #endif
eosterlund@49949 52 };
eosterlund@49949 53
eosterlund@49949 54 #endif // CPU_ARM_GC_G1_G1BARRIERSETASSEMBLER_ARM_HPP