hotspot/src/share/vm/gc_implementation/parallelScavenge/psCompactionManager.inline.hpp
changeset 7397 5b173b4ca846
parent 5918 73b96456819a
child 29792 8c6fa07f0869
equal deleted inserted replaced
7396:518b01b064ff 7397:5b173b4ca846
    20  * or visit www.oracle.com if you need additional information or have any
    20  * or visit www.oracle.com if you need additional information or have any
    21  * questions.
    21  * questions.
    22  *
    22  *
    23  */
    23  */
    24 
    24 
       
    25 #ifndef SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSCOMPACTIONMANAGER_INLINE_HPP
       
    26 #define SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSCOMPACTIONMANAGER_INLINE_HPP
       
    27 
       
    28 #include "gc_implementation/parallelScavenge/psCompactionManager.hpp"
       
    29 #include "gc_implementation/parallelScavenge/psParallelCompact.hpp"
       
    30 
    25 void ParCompactionManager::push_objarray(oop obj, size_t index)
    31 void ParCompactionManager::push_objarray(oop obj, size_t index)
    26 {
    32 {
    27   ObjArrayTask task(obj, index);
    33   ObjArrayTask task(obj, index);
    28   assert(task.is_valid(), "bad ObjArrayTask");
    34   assert(task.is_valid(), "bad ObjArrayTask");
    29   _objarray_stack.push(task);
    35   _objarray_stack.push(task);
    37   assert(region_ptr->claimed(), "must be claimed");
    43   assert(region_ptr->claimed(), "must be claimed");
    38   assert(region_ptr->_pushed++ == 0, "should only be pushed once");
    44   assert(region_ptr->_pushed++ == 0, "should only be pushed once");
    39 #endif
    45 #endif
    40   region_stack()->push(index);
    46   region_stack()->push(index);
    41 }
    47 }
       
    48 
       
    49 #endif // SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSCOMPACTIONMANAGER_INLINE_HPP