src/hotspot/share/gc/serial/defNewGeneration.inline.hpp
changeset 50752 9d62da00bf15
parent 50728 9375184cec98
child 53244 9807daeb47c4
equal deleted inserted replaced
50751:d9132bdf6c30 50752:9d62da00bf15
    43     oop obj = RawAccess<IS_NOT_NULL>::oop_load(p);
    43     oop obj = RawAccess<IS_NOT_NULL>::oop_load(p);
    44     assert (oopDesc::is_oop(obj), "expected an oop while scanning weak refs");
    44     assert (oopDesc::is_oop(obj), "expected an oop while scanning weak refs");
    45   }
    45   }
    46 #endif // ASSERT
    46 #endif // ASSERT
    47 
    47 
    48   _cl->do_oop_nv(p);
    48   Devirtualizer::do_oop_no_verify(_cl, p);
    49 
    49 
    50   // Card marking is trickier for weak refs.
    50   // Card marking is trickier for weak refs.
    51   // This oop is a 'next' field which was filled in while we
    51   // This oop is a 'next' field which was filled in while we
    52   // were discovering weak references. While we might not need
    52   // were discovering weak references. While we might not need
    53   // to take a special action to keep this reference alive, we
    53   // to take a special action to keep this reference alive, we
    75     oop obj = RawAccess<IS_NOT_NULL>::oop_load(p);
    75     oop obj = RawAccess<IS_NOT_NULL>::oop_load(p);
    76     assert (oopDesc::is_oop(obj), "expected an oop while scanning weak refs");
    76     assert (oopDesc::is_oop(obj), "expected an oop while scanning weak refs");
    77   }
    77   }
    78 #endif // ASSERT
    78 #endif // ASSERT
    79 
    79 
    80   _cl->do_oop_nv(p);
    80   Devirtualizer::do_oop_no_verify(_cl, p);
    81 
    81 
    82   // Optimized for Defnew generation if it's the youngest generation:
    82   // Optimized for Defnew generation if it's the youngest generation:
    83   // we set a younger_gen card if we have an older->youngest
    83   // we set a younger_gen card if we have an older->youngest
    84   // generation pointer.
    84   // generation pointer.
    85   oop obj = RawAccess<IS_NOT_NULL>::oop_load(p);
    85   oop obj = RawAccess<IS_NOT_NULL>::oop_load(p);