< prev index next >

src/share/vm/gc/g1/concurrentMark.cpp

Print this page

        

*** 1938,1949 **** HeapRegionRemSet::reset_for_cleanup_tasks(); // Do counting once more with the world stopped for good measure. G1ParFinalCountTask g1_par_count_task(g1h, &_region_bm, &_card_bm); - uint n_workers = _g1h->workers()->active_workers(); - g1h->workers()->run_task(&g1_par_count_task); if (VerifyDuringGC) { // Verify that the counting data accumulated during marking matches // that calculated by walking the marking bitmap. --- 1938,1947 ----
*** 1978,1987 **** --- 1976,1987 ---- // Install newly created mark bitMap as "prev". swapMarkBitMaps(); g1h->reset_gc_time_stamp(); + uint n_workers = _g1h->workers()->active_workers(); + // Note end of marking in all heap regions. G1ParNoteEndTask g1_par_note_end_task(g1h, &_cleanup_list, n_workers); g1h->workers()->run_task(&g1_par_note_end_task); g1h->check_gc_time_stamps();
< prev index next >