8273730: WorkGangBarrierSync constructor unused

Reviewed-by: tschatzl, eosterlund
This commit is contained in:
Coleen Phillimore 2021-09-14 13:17:27 +00:00
parent 1d3eb147ee
commit 8974b95886
2 changed files with 0 additions and 6 deletions

View File

@ -250,11 +250,6 @@ WorkGangBarrierSync::WorkGangBarrierSync()
_n_workers(0), _n_completed(0), _should_reset(false), _aborted(false) {
}
WorkGangBarrierSync::WorkGangBarrierSync(uint n_workers, const char* name)
: _monitor(Mutex::safepoint, name, Monitor::_safepoint_check_never),
_n_workers(n_workers), _n_completed(0), _should_reset(false), _aborted(false) {
}
void WorkGangBarrierSync::set_n_workers(uint n_workers) {
_n_workers = n_workers;
_n_completed = 0;

View File

@ -237,7 +237,6 @@ protected:
public:
WorkGangBarrierSync();
WorkGangBarrierSync(uint n_workers, const char* name);
// Set the number of workers that will use the barrier.
// Must be called before any of the workers start running.