Skip to content

Commit

Permalink
8326612: Parallel: remove redundant assertion from ScavengeRootsTask
Browse files Browse the repository at this point in the history
Reviewed-by: tschatzl, ayang
  • Loading branch information
reinrich committed Mar 1, 2024
1 parent 12404a5 commit 0899b3b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/hotspot/share/gc/parallel/psScavenge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -298,8 +298,6 @@ class ScavengeRootsTask : public WorkerTask {
_active_workers(active_workers),
_is_old_gen_empty(old_gen->object_space()->is_empty()),
_terminator(active_workers, PSPromotionManager::vm_thread_promotion_manager()->stack_array_depth()) {
assert(_old_gen != nullptr, "Sanity");

if (!_is_old_gen_empty) {
PSCardTable* card_table = ParallelScavengeHeap::heap()->card_table();
card_table->pre_scavenge(active_workers);
Expand Down

1 comment on commit 0899b3b

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.