src/share/vm/services/psMemoryPool.hpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2007, 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) 2007, 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,43 ---- * or visit www.oracle.com if you need additional information or have any * questions. * */ + #ifndef SHARE_VM_SERVICES_PSMEMORYPOOL_HPP + #define SHARE_VM_SERVICES_PSMEMORYPOOL_HPP + + #ifndef SERIALGC + #include "gc_implementation/parallelScavenge/psOldGen.hpp" + #include "gc_implementation/parallelScavenge/psYoungGen.hpp" + #include "gc_implementation/shared/mutableSpace.hpp" + #include "memory/defNewGeneration.hpp" + #include "memory/heap.hpp" + #include "memory/space.hpp" + #include "services/memoryPool.hpp" + #include "services/memoryUsage.hpp" + #endif + class PSGenerationPool : public CollectedMemoryPool { private: PSOldGen* _gen; public:
*** 77,81 **** --- 91,97 ---- size_t max_size() const { // Return current committed size of the from-space return _gen->from_space()->capacity_in_bytes(); } }; + + #endif // SHARE_VM_SERVICES_PSMEMORYPOOL_HPP