8273730: WorkGangBarrierSync constructor unused
Reviewed-by: tschatzl, eosterlund
This commit is contained in:
parent
1d3eb147ee
commit
8974b95886
@ -250,11 +250,6 @@ WorkGangBarrierSync::WorkGangBarrierSync()
|
|||||||
_n_workers(0), _n_completed(0), _should_reset(false), _aborted(false) {
|
_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) {
|
void WorkGangBarrierSync::set_n_workers(uint n_workers) {
|
||||||
_n_workers = n_workers;
|
_n_workers = n_workers;
|
||||||
_n_completed = 0;
|
_n_completed = 0;
|
||||||
|
@ -237,7 +237,6 @@ protected:
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
WorkGangBarrierSync();
|
WorkGangBarrierSync();
|
||||||
WorkGangBarrierSync(uint n_workers, const char* name);
|
|
||||||
|
|
||||||
// Set the number of workers that will use the barrier.
|
// Set the number of workers that will use the barrier.
|
||||||
// Must be called before any of the workers start running.
|
// Must be called before any of the workers start running.
|
||||||
|
Loading…
Reference in New Issue
Block a user