src/hotspot/share/gc/g1/g1FullGCMarker.cpp
changeset 51332 c25572739e7c
parent 51292 0538a5cdb474
child 52141 de6dc206a92b
equal deleted inserted replaced
51331:7939b3c4e408 51332:c25572739e7c
    27 #include "gc/shared/referenceProcessor.hpp"
    27 #include "gc/shared/referenceProcessor.hpp"
    28 #include "memory/iterator.inline.hpp"
    28 #include "memory/iterator.inline.hpp"
    29 
    29 
    30 G1FullGCMarker::G1FullGCMarker(uint worker_id, PreservedMarks* preserved_stack, G1CMBitMap* bitmap) :
    30 G1FullGCMarker::G1FullGCMarker(uint worker_id, PreservedMarks* preserved_stack, G1CMBitMap* bitmap) :
    31     _worker_id(worker_id),
    31     _worker_id(worker_id),
       
    32     _bitmap(bitmap),
       
    33     _oop_stack(),
       
    34     _objarray_stack(),
       
    35     _preserved_stack(preserved_stack),
    32     _mark_closure(worker_id, this, G1CollectedHeap::heap()->ref_processor_stw()),
    36     _mark_closure(worker_id, this, G1CollectedHeap::heap()->ref_processor_stw()),
    33     _verify_closure(VerifyOption_G1UseFullMarking),
    37     _verify_closure(VerifyOption_G1UseFullMarking),
    34     _cld_closure(mark_closure()),
       
    35     _stack_closure(this),
    38     _stack_closure(this),
    36     _preserved_stack(preserved_stack),
    39     _cld_closure(mark_closure()) {
    37     _bitmap(bitmap) {
       
    38   _oop_stack.initialize();
    40   _oop_stack.initialize();
    39   _objarray_stack.initialize();
    41   _objarray_stack.initialize();
    40 }
    42 }
    41 
    43 
    42 G1FullGCMarker::~G1FullGCMarker() {
    44 G1FullGCMarker::~G1FullGCMarker() {