hotspot/src/share/vm/memory/generationSpec.hpp
changeset 7397 5b173b4ca846
parent 5547 f4b087cbb361
child 13195 be27e1b6a4b9
equal deleted inserted replaced
7396:518b01b064ff 7397:5b173b4ca846
     1 /*
     1 /*
     2  * Copyright (c) 2001, 2004, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    20  * or visit www.oracle.com if you need additional information or have any
    20  * or visit www.oracle.com if you need additional information or have any
    21  * questions.
    21  * questions.
    22  *
    22  *
    23  */
    23  */
       
    24 
       
    25 #ifndef SHARE_VM_MEMORY_GENERATIONSPEC_HPP
       
    26 #define SHARE_VM_MEMORY_GENERATIONSPEC_HPP
       
    27 
       
    28 #include "memory/generation.hpp"
       
    29 #include "memory/permGen.hpp"
    24 
    30 
    25 // The specification of a generation.  This class also encapsulates
    31 // The specification of a generation.  This class also encapsulates
    26 // some generation-specific behavior.  This is done here rather than as a
    32 // some generation-specific behavior.  This is done here rather than as a
    27 // virtual function of Generation because these methods are needed in
    33 // virtual function of Generation because these methods are needed in
    28 // initialization of the Generations.
    34 // initialization of the Generations.
   118   size_t read_write_size() const { return _read_write_size; }
   124   size_t read_write_size() const { return _read_write_size; }
   119   size_t misc_data_size() const { return _misc_data_size; }
   125   size_t misc_data_size() const { return _misc_data_size; }
   120   size_t misc_code_size() const { return _misc_code_size; }
   126   size_t misc_code_size() const { return _misc_code_size; }
   121   bool enable_shared_spaces()    const { return _enable_shared_spaces; }
   127   bool enable_shared_spaces()    const { return _enable_shared_spaces; }
   122 };
   128 };
       
   129 
       
   130 #endif // SHARE_VM_MEMORY_GENERATIONSPEC_HPP