< prev index next >

src/share/vm/gc/serial/defNewGeneration.cpp

Print this page

        

*** 625,635 **** assert(gch->no_allocs_since_save_marks(0), "save marks have not been newly set."); { ! // SerialGC runs with n_threads == 0. StrongRootsScope srs(0); gch->gen_process_roots(&srs, _level, true, // Process younger gens, if any, --- 625,637 ---- assert(gch->no_allocs_since_save_marks(0), "save marks have not been newly set."); { ! // DefNew needs to run with n_threads == 0, to make sure the serial ! // version of the card table scanning code is used. ! // See: CardTableModRefBS::non_clean_card_iterate_possibly_parallel. StrongRootsScope srs(0); gch->gen_process_roots(&srs, _level, true, // Process younger gens, if any,
< prev index next >