< prev index next >
src/share/vm/gc/shared/spaceCounters.hpp
Print this page
rev 8362 : [mq]: hotspot
*** 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,37 ****
* 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;
--- 20,37 ----
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
! #ifndef SHARE_VM_GC_SHARED_SPACECOUNTERS_HPP
! #define SHARE_VM_GC_SHARED_SPACECOUNTERS_HPP
#include "utilities/macros.hpp"
#if INCLUDE_ALL_GCS
! #include "gc/shared/generationCounters.hpp"
! #include "gc/shared/immutableSpace.hpp"
! #include "gc/shared/mutableSpace.hpp"
#include "runtime/perfData.hpp"
#endif // INCLUDE_ALL_GCS
// A SpaceCounter is a holder class for performance counters
// that track a space;
*** 85,90 ****
inline jlong take_sample() {
return _m->used_in_bytes();
}
};
! #endif // SHARE_VM_GC_IMPLEMENTATION_SHARED_SPACECOUNTERS_HPP
--- 85,90 ----
inline jlong take_sample() {
return _m->used_in_bytes();
}
};
! #endif // SHARE_VM_GC_SHARED_SPACECOUNTERS_HPP
< prev index next >