equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2011, 2013, 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. |
24 |
24 |
25 #ifndef SHARE_VM_GC_IMPLEMENTATION_SHARED_HSPACECOUNTERS_HPP |
25 #ifndef SHARE_VM_GC_IMPLEMENTATION_SHARED_HSPACECOUNTERS_HPP |
26 #define SHARE_VM_GC_IMPLEMENTATION_SHARED_HSPACECOUNTERS_HPP |
26 #define SHARE_VM_GC_IMPLEMENTATION_SHARED_HSPACECOUNTERS_HPP |
27 |
27 |
28 #include "utilities/macros.hpp" |
28 #include "utilities/macros.hpp" |
29 #if INCLUDE_ALL_GCS |
|
30 #include "gc_implementation/shared/generationCounters.hpp" |
29 #include "gc_implementation/shared/generationCounters.hpp" |
31 #include "memory/generation.hpp" |
30 #include "memory/generation.hpp" |
32 #include "runtime/perfData.hpp" |
31 #include "runtime/perfData.hpp" |
33 #endif // INCLUDE_ALL_GCS |
|
34 |
32 |
35 // A HSpaceCounter is a holder class for performance counters |
33 // A HSpaceCounter is a holder class for performance counters |
36 // that track a collections (logical spaces) in a heap; |
34 // that track a collections (logical spaces) in a heap; |
37 |
35 |
38 class HeapSpaceUsedHelper; |
36 class HeapSpaceUsedHelper; |