hotspot/src/share/vm/gc_implementation/shared/markSweep.inline.hpp
changeset 15482 470d0b0c09f1
parent 15088 8875e774f1a3
child 17105 25b392a7740d
equal deleted inserted replaced
15224:0f9e3436040d 15482:470d0b0c09f1
    26 #define SHARE_VM_GC_IMPLEMENTATION_SHARED_MARKSWEEP_INLINE_HPP
    26 #define SHARE_VM_GC_IMPLEMENTATION_SHARED_MARKSWEEP_INLINE_HPP
    27 
    27 
    28 #include "gc_implementation/shared/markSweep.hpp"
    28 #include "gc_implementation/shared/markSweep.hpp"
    29 #include "gc_interface/collectedHeap.hpp"
    29 #include "gc_interface/collectedHeap.hpp"
    30 #include "utilities/stack.inline.hpp"
    30 #include "utilities/stack.inline.hpp"
    31 #ifndef SERIALGC
    31 #include "utilities/macros.hpp"
       
    32 #if INCLUDE_ALL_GCS
    32 #include "gc_implementation/parallelScavenge/psParallelCompact.hpp"
    33 #include "gc_implementation/parallelScavenge/psParallelCompact.hpp"
    33 #endif
    34 #endif // INCLUDE_ALL_GCS
    34 
    35 
    35 inline void MarkSweep::mark_object(oop obj) {
    36 inline void MarkSweep::mark_object(oop obj) {
    36   // some marks may contain information we need to preserve so we store them away
    37   // some marks may contain information we need to preserve so we store them away
    37   // and overwrite the mark.  We'll restore it at the end of markSweep.
    38   // and overwrite the mark.  We'll restore it at the end of markSweep.
    38   markOop mark = obj->mark();
    39   markOop mark = obj->mark();