src/share/vm/memory/genMarkSweep.hpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2001, 2004, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 20,29 **** --- 20,34 ---- * or visit www.oracle.com if you need additional information or have any * questions. * */ + #ifndef SHARE_VM_MEMORY_GENMARKSWEEP_HPP + #define SHARE_VM_MEMORY_GENMARKSWEEP_HPP + + #include "gc_implementation/shared/markSweep.hpp" + class GenMarkSweep : public MarkSweep { friend class VM_MarkSweep; friend class G1MarkSweep; public: static void invoke_at_safepoint(int level, ReferenceProcessor* rp,
*** 42,46 **** --- 47,53 ---- // Temporary data structures for traversal and storing/restoring marks static void allocate_stacks(); static void deallocate_stacks(); }; + + #endif // SHARE_VM_MEMORY_GENMARKSWEEP_HPP