src/hotspot/share/gc/parallel/psPromotionManager.cpp
changeset 57777 90ead0febf56
parent 57773 5cbc3bd9fdfd
child 58679 9c3209ff7550
equal deleted inserted replaced
57774:21dccfac0ec5 57777:90ead0febf56
   343   } else {
   343   } else {
   344     process_array_chunk_work<oop>(obj, start, end);
   344     process_array_chunk_work<oop>(obj, start, end);
   345   }
   345   }
   346 }
   346 }
   347 
   347 
   348 oop PSPromotionManager::oop_promotion_failed(oop obj, markOop obj_mark) {
   348 oop PSPromotionManager::oop_promotion_failed(oop obj, markWord obj_mark) {
   349   assert(_old_gen_is_full || PromotionFailureALot, "Sanity");
   349   assert(_old_gen_is_full || PromotionFailureALot, "Sanity");
   350 
   350 
   351   // Attempt to CAS in the header.
   351   // Attempt to CAS in the header.
   352   // This tests if the header is still the same as when
   352   // This tests if the header is still the same as when
   353   // this started.  If it is the same (i.e., no forwarding
   353   // this started.  If it is the same (i.e., no forwarding