equal
deleted
inserted
replaced
3456 |
3456 |
3457 double start_strong_roots_sec = os::elapsedTime(); |
3457 double start_strong_roots_sec = os::elapsedTime(); |
3458 |
3458 |
3459 _root_processor->evacuate_roots(pss->closures(), worker_id); |
3459 _root_processor->evacuate_roots(pss->closures(), worker_id); |
3460 |
3460 |
3461 G1ParPushHeapRSClosure push_heap_rs_cl(_g1h, pss); |
|
3462 |
|
3463 // We pass a weak code blobs closure to the remembered set scanning because we want to avoid |
3461 // We pass a weak code blobs closure to the remembered set scanning because we want to avoid |
3464 // treating the nmethods visited to act as roots for concurrent marking. |
3462 // treating the nmethods visited to act as roots for concurrent marking. |
3465 // We only want to make sure that the oops in the nmethods are adjusted with regard to the |
3463 // We only want to make sure that the oops in the nmethods are adjusted with regard to the |
3466 // objects copied by the current evacuation. |
3464 // objects copied by the current evacuation. |
3467 _g1h->g1_rem_set()->oops_into_collection_set_do(&push_heap_rs_cl, |
3465 _g1h->g1_rem_set()->oops_into_collection_set_do(pss, |
3468 pss->closures()->weak_codeblobs(), |
3466 pss->closures()->weak_codeblobs(), |
3469 worker_id); |
3467 worker_id); |
3470 |
3468 |
3471 double strong_roots_sec = os::elapsedTime() - start_strong_roots_sec; |
3469 double strong_roots_sec = os::elapsedTime() - start_strong_roots_sec; |
3472 |
3470 |