src/share/vm/gc_implementation/parallelScavenge/psGenerationCounters.hpp

Print this page

        

*** 1,8 **** /* ! * Copyright (c) 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,8 ---- /* ! * Copyright (c) 2004, 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.
*** 21,30 **** --- 21,37 ---- * or visit www.oracle.com if you need additional information or have any * questions. * */ + #ifndef SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSGENERATIONCOUNTERS_HPP + #define SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSGENERATIONCOUNTERS_HPP + + #include "gc_implementation/parallelScavenge/psVirtualspace.hpp" + #include "gc_implementation/shared/generationCounters.hpp" + #include "runtime/perfData.hpp" + // A PSGenerationCounter is a holder class for performance counters // that track a generation class PSGenerationCounters: public GenerationCounters { friend class VMStructs;
*** 39,43 **** --- 46,52 ---- void update_all() { assert(_virtual_space == NULL, "Only one should be in use"); _current_size->set_value(_ps_virtual_space->committed_size()); } }; + + #endif // SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSGENERATIONCOUNTERS_HPP