hotspot/src/share/vm/gc_implementation/shared/spaceCounters.cpp
changeset 15482 470d0b0c09f1
parent 13963 e5b53c306fb5
child 22234 da823d78ad65
equal deleted inserted replaced
15224:0f9e3436040d 15482:470d0b0c09f1
    21  * questions.
    21  * questions.
    22  *
    22  *
    23  */
    23  */
    24 
    24 
    25 #include "precompiled.hpp"
    25 #include "precompiled.hpp"
    26 #ifndef SERIALGC
    26 #include "utilities/macros.hpp"
       
    27 #if INCLUDE_ALL_GCS
    27 #include "gc_implementation/shared/spaceCounters.hpp"
    28 #include "gc_implementation/shared/spaceCounters.hpp"
    28 #include "memory/resourceArea.hpp"
    29 #include "memory/resourceArea.hpp"
    29 #endif
    30 #endif // INCLUDE_ALL_GCS
    30 
    31 
    31 SpaceCounters::SpaceCounters(const char* name, int ordinal, size_t max_size,
    32 SpaceCounters::SpaceCounters(const char* name, int ordinal, size_t max_size,
    32                              MutableSpace* m, GenerationCounters* gc) :
    33                              MutableSpace* m, GenerationCounters* gc) :
    33    _object_space(m) {
    34    _object_space(m) {
    34 
    35