412 } else { |
412 } else { |
413 reference_processor()->enqueue_discovered_references(NULL); |
413 reference_processor()->enqueue_discovered_references(NULL); |
414 } |
414 } |
415 |
415 |
416 // Finally, flush the promotion_manager's labs, and deallocate its stacks. |
416 // Finally, flush the promotion_manager's labs, and deallocate its stacks. |
417 assert(promotion_manager->claimed_stack_empty(), "Sanity"); |
|
418 PSPromotionManager::post_scavenge(); |
417 PSPromotionManager::post_scavenge(); |
419 |
418 |
420 promotion_failure_occurred = promotion_failed(); |
419 promotion_failure_occurred = promotion_failed(); |
421 if (promotion_failure_occurred) { |
420 if (promotion_failure_occurred) { |
422 clean_up_failed_promotion(); |
421 clean_up_failed_promotion(); |