Skip to content

Commit

Permalink
8294521: Parallel: Remove unused field in UpdateDensePrefixAndCompact…
Browse files Browse the repository at this point in the history
…ionTask

Reviewed-by: kbarrett, tschatzl
  • Loading branch information
albertnetymk committed Sep 30, 2022
1 parent 81fda1b commit 6974978
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/hotspot/share/gc/parallel/psParallelCompact.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2406,14 +2406,12 @@ static void compaction_with_stealing_work(TaskTerminator* terminator, uint worke
class UpdateDensePrefixAndCompactionTask: public WorkerTask {
TaskQueue& _tq;
TaskTerminator _terminator;
uint _active_workers;

public:
UpdateDensePrefixAndCompactionTask(TaskQueue& tq, uint active_workers) :
WorkerTask("UpdateDensePrefixAndCompactionTask"),
_tq(tq),
_terminator(active_workers, ParCompactionManager::region_task_queues()),
_active_workers(active_workers) {
_terminator(active_workers, ParCompactionManager::region_task_queues()) {
}
virtual void work(uint worker_id) {
ParCompactionManager* cm = ParCompactionManager::gc_thread_compaction_manager(worker_id);
Expand Down

1 comment on commit 6974978

@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.