< prev index next >
src/share/vm/gc/parallel/spaceCounters.hpp
Print this page
rev 8362 : 8079792: GC directory structure cleanup
Reviewed-by:
*** 1,7 ****
/*
! * Copyright (c) 2002, 2014, 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) 2002, 2015, 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,39 ****
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
! #ifndef SHARE_VM_GC_IMPLEMENTATION_SHARED_SPACECOUNTERS_HPP
! #define SHARE_VM_GC_IMPLEMENTATION_SHARED_SPACECOUNTERS_HPP
! #include "utilities/macros.hpp"
! #if INCLUDE_ALL_GCS
! #include "gc_implementation/shared/generationCounters.hpp"
! #include "gc_implementation/shared/immutableSpace.hpp"
! #include "gc_implementation/shared/mutableSpace.hpp"
#include "runtime/perfData.hpp"
! #endif // INCLUDE_ALL_GCS
// A SpaceCounter is a holder class for performance counters
// that track a space;
class SpaceCounters: public CHeapObj<mtGC> {
--- 20,37 ----
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
! #ifndef SHARE_VM_GC_PARALLEL_SPACECOUNTERS_HPP
! #define SHARE_VM_GC_PARALLEL_SPACECOUNTERS_HPP
! #include "gc/parallel/immutableSpace.hpp"
! #include "gc/parallel/mutableSpace.hpp"
! #include "gc/shared/generationCounters.hpp"
#include "runtime/perfData.hpp"
! #include "utilities/macros.hpp"
// A SpaceCounter is a holder class for performance counters
// that track a space;
class SpaceCounters: public CHeapObj<mtGC> {
*** 85,90 ****
inline jlong take_sample() {
return _m->used_in_bytes();
}
};
! #endif // SHARE_VM_GC_IMPLEMENTATION_SHARED_SPACECOUNTERS_HPP
--- 83,88 ----
inline jlong take_sample() {
return _m->used_in_bytes();
}
};
! #endif // SHARE_VM_GC_PARALLEL_SPACECOUNTERS_HPP
< prev index next >