< prev index next >

src/share/vm/gc/shared/cardGeneration.cpp

Print this page

        

@@ -350,9 +350,8 @@
                                                  bool usedOnly) {
   blk->do_space(space());
 }
 
 void CardGeneration::younger_refs_iterate(OopsInGenClosure* blk, uint n_threads) {
-  blk->set_generation(this);
+  blk->assert_generation(this);
   younger_refs_in_space_iterate(space(), blk, n_threads);
-  blk->reset_generation();
 }
< prev index next >