Skip to content
Permalink
Browse files
8270475: Remove unused G1STWDrainQueueClosure
Reviewed-by: iwalulya, kbarrett
  • Loading branch information
Thomas Schatzl committed Jul 15, 2021
1 parent 1ebd946 commit 793d772afd588438855f3381799915961237cc27
Showing 1 changed file with 0 additions and 23 deletions.
@@ -3248,29 +3248,6 @@ class G1CopyingKeepAliveClosure: public OopClosure {
}
};

// Serial drain queue closure. Called as the 'complete_gc'
// closure for each discovered list in some of the
// reference processing phases.

class G1STWDrainQueueClosure: public VoidClosure {
protected:
G1CollectedHeap* _g1h;
G1ParScanThreadState* _par_scan_state;

G1ParScanThreadState* par_scan_state() { return _par_scan_state; }

public:
G1STWDrainQueueClosure(G1CollectedHeap* g1h, G1ParScanThreadState* pss) :
_g1h(g1h),
_par_scan_state(pss)
{ }

void do_void() {
G1ParScanThreadState* const pss = par_scan_state();
pss->trim_queue();
}
};

class G1STWRefProcProxyTask : public RefProcProxyTask {
G1CollectedHeap& _g1h;
G1ParScanThreadStateSet& _pss;

1 comment on commit 793d772

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 793d772 Jul 15, 2021

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.