annotate src/hotspot/cpu/x86/gc/shared/barrierSetAssembler_x86.hpp @ 49949:ee8fa73b90f9

8198949: Modularize arraycopy stub routine GC barriers Reviewed-by: rkennke, pliden
author eosterlund
date Wed, 21 Mar 2018 14:38:32 +0100
parents
children 78d797e04484
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_X86_GC_G1_BARRIERSETASSEMBLER_X86_HPP
eosterlund@49949 26 #define CPU_X86_GC_G1_BARRIERSETASSEMBLER_X86_HPP
eosterlund@49949 27
eosterlund@49949 28 #include "asm/macroAssembler.hpp"
eosterlund@49949 29 #include "memory/allocation.hpp"
eosterlund@49949 30 #include "oops/access.hpp"
eosterlund@49949 31
eosterlund@49949 32 class InterpreterMacroAssembler;
eosterlund@49949 33
eosterlund@49949 34 class BarrierSetAssembler: public CHeapObj<mtGC> {
eosterlund@49949 35 protected:
eosterlund@49949 36 public:
eosterlund@49949 37 virtual void arraycopy_prologue(MacroAssembler* masm, DecoratorSet decorators, BasicType type,
eosterlund@49949 38 Register src, Register dst, Register count) {}
eosterlund@49949 39 virtual void arraycopy_epilogue(MacroAssembler* masm, DecoratorSet decorators, BasicType type,
eosterlund@49949 40 Register src, Register dst, Register count) {}
eosterlund@49949 41 };
eosterlund@49949 42
eosterlund@49949 43 #endif // CPU_X86_GC_G1_BARRIERSETASSEMBLER_X86_HPP