< prev index next >

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

Print this page

        

@@ -268,13 +268,12 @@
 
 #define TenuredGen_SINCE_SAVE_MARKS_ITERATE_DEFN(OopClosureType, nv_suffix)     \
                                                                                 \
 void TenuredGeneration::                                                        \
 oop_since_save_marks_iterate##nv_suffix(OopClosureType* blk) {                  \
-  blk->set_generation(this);                                                    \
+  blk->assert_generation(this);                                                 \
   _the_space->oop_since_save_marks_iterate##nv_suffix(blk);                     \
-  blk->reset_generation();                                                      \
   save_marks();                                                                 \
 }
 
 ALL_SINCE_SAVE_MARKS_CLOSURES(TenuredGen_SINCE_SAVE_MARKS_ITERATE_DEFN)
 
< prev index next >