Skip to content

Commit

Permalink
8261803: Remove unused TaskTerminator in g1 full gc ref proc executor
Browse files Browse the repository at this point in the history
Reviewed-by: ayang, tschatzl, sjohanss
  • Loading branch information
lkorinth committed Feb 22, 2021
1 parent 011f5a5 commit 419717d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -52,8 +52,7 @@ G1FullGCReferenceProcessingExecutor::G1RefProcTaskProxy::G1RefProcTaskProxy(Proc
G1FullCollector* collector) :
AbstractGangTask("G1 reference processing task"),
_proc_task(proc_task),
_collector(collector),
_terminator(_collector->workers(), _collector->oop_queue_set()) { }
_collector(collector) { }

void G1FullGCReferenceProcessingExecutor::G1RefProcTaskProxy::work(uint worker_id) {
G1FullGCMarker* marker = _collector->marker(worker_id);
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -61,7 +61,6 @@ class G1FullGCReferenceProcessingExecutor: public AbstractRefProcTaskExecutor {
typedef AbstractRefProcTaskExecutor::ProcessTask ProcessTask;
ProcessTask& _proc_task;
G1FullCollector* _collector;
TaskTerminator _terminator;

public:
G1RefProcTaskProxy(ProcessTask& proc_task,
Expand Down

1 comment on commit 419717d

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