src/share/vm/memory/tenuredGeneration.hpp
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2001, 2008, 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) 2001, 2010, 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,29 ****
--- 20,37 ----
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
+ #ifndef SHARE_VM_MEMORY_TENUREDGENERATION_HPP
+ #define SHARE_VM_MEMORY_TENUREDGENERATION_HPP
+
+ #include "gc_implementation/shared/cSpaceCounters.hpp"
+ #include "gc_implementation/shared/gcStats.hpp"
+ #include "gc_implementation/shared/generationCounters.hpp"
+ #include "memory/generation.hpp"
+
// TenuredGeneration models the heap containing old (promoted/tenured) objects.
class ParGCAllocBufferWithBOT;
class TenuredGeneration: public OneContigSpaceCardGeneration {
*** 104,108 ****
--- 112,118 ----
virtual bool promotion_attempt_is_safe(size_t max_promoted_in_bytes,
bool younger_handles_promotion_failure) const;
void verify_alloc_buffers_clean();
};
+
+ #endif // SHARE_VM_MEMORY_TENUREDGENERATION_HPP