mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8136854: G1 ConcurrentG1RefineThread::stop delays JVM shutdown for >150ms
Decrease the default wait delay for mark thread initialization to accomodate very short running applications. Reviewed-by: tbenson, mgerdin
This commit is contained in:
parent
cb13f4c3fd
commit
0bf8e8d264
3 changed files with 6 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2016, Oracle and/or its affiliates. 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
|
||||
|
@ -181,8 +181,7 @@ void exit_globals() {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
static bool _init_completed = false;
|
||||
static volatile bool _init_completed = false;
|
||||
|
||||
bool is_init_completed() {
|
||||
return _init_completed;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue