< prev index next >
src/share/vm/gc/shared/concurrentGCThread.hpp
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 +1,7 @@
/*
- * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 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.
@@ -30,11 +30,11 @@
class ConcurrentGCThread: public NamedThread {
friend class VMStructs;
protected:
- bool _should_terminate;
+ bool volatile _should_terminate;
bool _has_terminated;
// Create and start the thread (setting it's priority high.)
void create_and_start();
< prev index next >