< prev index next >

src/share/vm/runtime/init.cpp

Print this page
rev 9995 : 8136854: G1 ConcurrentG1RefineThread::stop delays JVM shutdown for >150ms
Summary: Decrease the default wait delay for mark thread initialization to accomodate very short running applications.
Reviewed-by:

*** 1,7 **** /* ! * Copyright (c) 1997, 2015, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 179,190 **** } ostream_exit(); } } ! ! static bool _init_completed = false; bool is_init_completed() { return _init_completed; } --- 179,189 ---- } ostream_exit(); } } ! static volatile bool _init_completed = false; bool is_init_completed() { return _init_completed; }
< prev index next >