< prev index next >
src/share/vm/gc/serial/defNewGeneration.inline.hpp
Print this page
rev 8362 : 8079792: GC directory structure cleanup
Reviewed-by:
*** 20,37 ****
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
! #ifndef SHARE_VM_MEMORY_DEFNEWGENERATION_INLINE_HPP
! #define SHARE_VM_MEMORY_DEFNEWGENERATION_INLINE_HPP
! #include "memory/cardTableRS.hpp"
! #include "memory/defNewGeneration.hpp"
! #include "memory/genCollectedHeap.hpp"
! #include "memory/genOopClosures.inline.hpp"
! #include "memory/space.hpp"
// Methods of protected closure types
template <class T>
inline void DefNewGeneration::KeepAliveClosure::do_oop_work(T* p) {
--- 20,37 ----
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
! #ifndef SHARE_VM_GC_SERIAL_DEFNEWGENERATION_INLINE_HPP
! #define SHARE_VM_GC_SERIAL_DEFNEWGENERATION_INLINE_HPP
! #include "gc/serial/defNewGeneration.hpp"
! #include "gc/shared/cardTableRS.hpp"
! #include "gc/shared/genCollectedHeap.hpp"
! #include "gc/shared/genOopClosures.inline.hpp"
! #include "gc/shared/space.hpp"
// Methods of protected closure types
template <class T>
inline void DefNewGeneration::KeepAliveClosure::do_oop_work(T* p) {
*** 87,92 ****
if (((HeapWord*)obj < _boundary) && GenCollectedHeap::heap()->is_in_reserved(p)) {
_rs->inline_write_ref_field_gc(p, obj);
}
}
! #endif // SHARE_VM_MEMORY_DEFNEWGENERATION_INLINE_HPP
--- 87,92 ----
if (((HeapWord*)obj < _boundary) && GenCollectedHeap::heap()->is_in_reserved(p)) {
_rs->inline_write_ref_field_gc(p, obj);
}
}
! #endif // SHARE_VM_GC_SERIAL_DEFNEWGENERATION_INLINE_HPP
< prev index next >