1 |
1 |
2 /* |
2 /* |
3 * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved. |
3 * Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved. |
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
5 * |
5 * |
6 * This code is free software; you can redistribute it and/or modify it |
6 * This code is free software; you can redistribute it and/or modify it |
7 * under the terms of the GNU General Public License version 2 only, as |
7 * under the terms of the GNU General Public License version 2 only, as |
8 * published by the Free Software Foundation. |
8 * published by the Free Software Foundation. |
21 * or visit www.oracle.com if you need additional information or have any |
21 * or visit www.oracle.com if you need additional information or have any |
22 * questions. |
22 * questions. |
23 * |
23 * |
24 */ |
24 */ |
25 |
25 |
|
26 #ifndef SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSGENERATIONCOUNTERS_HPP |
|
27 #define SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSGENERATIONCOUNTERS_HPP |
|
28 |
|
29 #include "gc_implementation/parallelScavenge/psVirtualspace.hpp" |
|
30 #include "gc_implementation/shared/generationCounters.hpp" |
|
31 #include "runtime/perfData.hpp" |
|
32 |
26 // A PSGenerationCounter is a holder class for performance counters |
33 // A PSGenerationCounter is a holder class for performance counters |
27 // that track a generation |
34 // that track a generation |
28 |
35 |
29 class PSGenerationCounters: public GenerationCounters { |
36 class PSGenerationCounters: public GenerationCounters { |
30 friend class VMStructs; |
37 friend class VMStructs; |