src/share/vm/memory/generationSpec.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,35 ---- * or visit www.oracle.com if you need additional information or have any * questions. * */ + #ifndef SHARE_VM_MEMORY_GENERATIONSPEC_HPP + #define SHARE_VM_MEMORY_GENERATIONSPEC_HPP + + #include "memory/generation.hpp" + #include "memory/permGen.hpp" + // The specification of a generation. This class also encapsulates // some generation-specific behavior. This is done here rather than as a // virtual function of Generation because these methods are needed in // initialization of the Generations. class GenerationSpec : public CHeapObj {
*** 118,122 **** --- 124,130 ---- size_t read_write_size() const { return _read_write_size; } size_t misc_data_size() const { return _misc_data_size; } size_t misc_code_size() const { return _misc_code_size; } bool enable_shared_spaces() const { return _enable_shared_spaces; } }; + + #endif // SHARE_VM_MEMORY_GENERATIONSPEC_HPP