mirror of
https://github.com/openjdk/jdk.git
synced 2026-07-16 14:09:10 +00:00
8261984: Shenandoah: Remove unused ShenandoahPushWorkerQueuesScope class
Reviewed-by: shade
This commit is contained in:
parent
a180a38618
commit
55463b0486
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2018, Red Hat, Inc. All rights reserved.
|
||||
* Copyright (c) 2017, 2021, Red Hat, Inc. 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
|
||||
@ -71,16 +71,6 @@ ShenandoahPushWorkerScope::~ShenandoahPushWorkerScope() {
|
||||
assert(nworkers == _old_workers, "Must be able to restore");
|
||||
}
|
||||
|
||||
ShenandoahPushWorkerQueuesScope::ShenandoahPushWorkerQueuesScope(WorkGang* workers, ShenandoahObjToScanQueueSet* queues, uint nworkers, bool check) :
|
||||
ShenandoahPushWorkerScope(workers, nworkers, check), _queues(queues) {
|
||||
_queues->reserve(_n_workers);
|
||||
}
|
||||
|
||||
ShenandoahPushWorkerQueuesScope::~ShenandoahPushWorkerQueuesScope() {
|
||||
// Restore old worker value
|
||||
_queues->reserve(_old_workers);
|
||||
}
|
||||
|
||||
AbstractGangWorker* ShenandoahWorkGang::install_worker(uint which) {
|
||||
AbstractGangWorker* worker = WorkGang::install_worker(which);
|
||||
ShenandoahThreadLocalData::create(worker);
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2019, Red Hat, Inc. All rights reserved.
|
||||
* Copyright (c) 2017, 2021, Red Hat, Inc. 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
|
||||
@ -51,15 +51,6 @@ public:
|
||||
~ShenandoahPushWorkerScope();
|
||||
};
|
||||
|
||||
class ShenandoahPushWorkerQueuesScope : public ShenandoahPushWorkerScope {
|
||||
private:
|
||||
ShenandoahObjToScanQueueSet* _queues;
|
||||
|
||||
public:
|
||||
ShenandoahPushWorkerQueuesScope(WorkGang* workers, ShenandoahObjToScanQueueSet* queues, uint nworkers, bool do_check = true);
|
||||
~ShenandoahPushWorkerQueuesScope();
|
||||
};
|
||||
|
||||
class ShenandoahWorkGang : public WorkGang {
|
||||
private:
|
||||
bool _initialize_gclab;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user