equal
deleted
inserted
replaced
2401 ReferenceProcessor* rp = _g1h->ref_processor_cm(); |
2401 ReferenceProcessor* rp = _g1h->ref_processor_cm(); |
2402 assert(rp->processing_is_mt(), "shouldn't be here otherwise"); |
2402 assert(rp->processing_is_mt(), "shouldn't be here otherwise"); |
2403 } |
2403 } |
2404 |
2404 |
2405 virtual void work(uint worker_id) { |
2405 virtual void work(uint worker_id) { |
|
2406 ResourceMark rm; |
|
2407 HandleMark hm; |
2406 CMTask* task = _cm->task(worker_id); |
2408 CMTask* task = _cm->task(worker_id); |
2407 G1CMIsAliveClosure g1_is_alive(_g1h); |
2409 G1CMIsAliveClosure g1_is_alive(_g1h); |
2408 G1CMKeepAliveAndDrainClosure g1_par_keep_alive(_cm, task, false /* is_serial */); |
2410 G1CMKeepAliveAndDrainClosure g1_par_keep_alive(_cm, task, false /* is_serial */); |
2409 G1CMDrainMarkingStackClosure g1_par_drain(_cm, task, false /* is_serial */); |
2411 G1CMDrainMarkingStackClosure g1_par_drain(_cm, task, false /* is_serial */); |
2410 |
2412 |