mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8208669: GC changes to allow enabling -Wreorder
Reviewed-by: kbarrett
This commit is contained in:
parent
a00eff193f
commit
d702d5f8d2
80 changed files with 371 additions and 294 deletions
|
@ -373,9 +373,9 @@ SynchronizedGCTaskQueue::~SynchronizedGCTaskQueue() {
|
|||
//
|
||||
GCTaskManager::GCTaskManager(uint workers) :
|
||||
_workers(workers),
|
||||
_created_workers(0),
|
||||
_active_workers(0),
|
||||
_idle_workers(0),
|
||||
_created_workers(0) {
|
||||
_idle_workers(0) {
|
||||
initialize();
|
||||
}
|
||||
|
||||
|
@ -962,7 +962,7 @@ void WaitForBarrierGCTask::do_it(GCTaskManager* manager, uint which) {
|
|||
_wait_helper.notify();
|
||||
}
|
||||
|
||||
WaitHelper::WaitHelper() : _should_wait(true), _monitor(MonitorSupply::reserve()) {
|
||||
WaitHelper::WaitHelper() : _monitor(MonitorSupply::reserve()), _should_wait(true) {
|
||||
if (TraceGCTaskManager) {
|
||||
tty->print_cr("[" INTPTR_FORMAT "]"
|
||||
" WaitHelper::WaitHelper()"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue