src/hotspot/share/gc/parallel/psScavenge.cpp
changeset 50396 7f48bff40a9a
parent 50071 758deedaae84
child 50605 7f63c74f0974
equal deleted inserted replaced
50395:41258f041b24 50396:7f48bff40a9a
   397       reference_processor()->setup_policy(false); // not always_clear
   397       reference_processor()->setup_policy(false); // not always_clear
   398       reference_processor()->set_active_mt_degree(active_workers);
   398       reference_processor()->set_active_mt_degree(active_workers);
   399       PSKeepAliveClosure keep_alive(promotion_manager);
   399       PSKeepAliveClosure keep_alive(promotion_manager);
   400       PSEvacuateFollowersClosure evac_followers(promotion_manager);
   400       PSEvacuateFollowersClosure evac_followers(promotion_manager);
   401       ReferenceProcessorStats stats;
   401       ReferenceProcessorStats stats;
   402       ReferenceProcessorPhaseTimes pt(&_gc_timer, reference_processor()->num_queues());
   402       ReferenceProcessorPhaseTimes pt(&_gc_timer, reference_processor()->max_num_queues());
   403       if (reference_processor()->processing_is_mt()) {
   403       if (reference_processor()->processing_is_mt()) {
   404         PSRefProcTaskExecutor task_executor;
   404         PSRefProcTaskExecutor task_executor;
   405         stats = reference_processor()->process_discovered_references(
   405         stats = reference_processor()->process_discovered_references(
   406           &_is_alive_closure, &keep_alive, &evac_followers, &task_executor,
   406           &_is_alive_closure, &keep_alive, &evac_followers, &task_executor,
   407           &pt);
   407           &pt);