src/share/vm/memory/genOopClosures.inline.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,41 ----
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
+ #ifndef SHARE_VM_MEMORY_GENOOPCLOSURES_INLINE_HPP
+ #define SHARE_VM_MEMORY_GENOOPCLOSURES_INLINE_HPP
+
+ #include "memory/cardTableRS.hpp"
+ #include "memory/defNewGeneration.hpp"
+ #include "memory/genCollectedHeap.hpp"
+ #include "memory/genOopClosures.hpp"
+ #include "memory/genRemSet.hpp"
+ #include "memory/generation.hpp"
+ #include "memory/sharedHeap.hpp"
+ #include "memory/space.hpp"
+
inline OopsInGenClosure::OopsInGenClosure(Generation* gen) :
OopClosure(gen->ref_processor()), _orig_gen(gen), _rs(NULL) {
set_generation(gen);
}
*** 120,124 ****
--- 132,138 ----
}
}
inline void ScanWeakRefClosure::do_oop_nv(oop* p) { ScanWeakRefClosure::do_oop_work(p); }
inline void ScanWeakRefClosure::do_oop_nv(narrowOop* p) { ScanWeakRefClosure::do_oop_work(p); }
+
+ #endif // SHARE_VM_MEMORY_GENOOPCLOSURES_INLINE_HPP