hotspot/src/share/vm/gc_implementation/g1/g1RemSet.cpp
changeset 21560 b3ae3ba25ebb
parent 20310 903b398490d9
child 22551 9bf46d16dcc6
equal deleted inserted replaced
21559:c5421f5c6ffd 21560:b3ae3ba25ebb
   375   ConcurrentG1Refine* cg1r = _g1->concurrent_g1_refine();
   375   ConcurrentG1Refine* cg1r = _g1->concurrent_g1_refine();
   376   _g1->set_refine_cte_cl_concurrency(false);
   376   _g1->set_refine_cte_cl_concurrency(false);
   377   DirtyCardQueueSet& dcqs = JavaThread::dirty_card_queue_set();
   377   DirtyCardQueueSet& dcqs = JavaThread::dirty_card_queue_set();
   378   dcqs.concatenate_logs();
   378   dcqs.concatenate_logs();
   379 
   379 
   380   if (G1CollectedHeap::use_parallel_gc_threads()) {
       
   381     // Don't set the number of workers here.  It will be set
       
   382     // when the task is run
       
   383     // _seq_task->set_n_termination((int)n_workers());
       
   384   }
       
   385   guarantee( _cards_scanned == NULL, "invariant" );
   380   guarantee( _cards_scanned == NULL, "invariant" );
   386   _cards_scanned = NEW_C_HEAP_ARRAY(size_t, n_workers(), mtGC);
   381   _cards_scanned = NEW_C_HEAP_ARRAY(size_t, n_workers(), mtGC);
   387   for (uint i = 0; i < n_workers(); ++i) {
   382   for (uint i = 0; i < n_workers(); ++i) {
   388     _cards_scanned[i] = 0;
   383     _cards_scanned[i] = 0;
   389   }
   384   }