src/share/vm/services/diagnosticCommand_ext.hpp

Wed, 10 Apr 2013 08:55:50 -0400

author
zgu
date
Wed, 10 Apr 2013 08:55:50 -0400
changeset 4927
35f8765422b9
parent 4376
79f492f184d0
child 6876
710a3c8b516e
permissions
-rw-r--r--

8010151: nsk/regression/b6653214 fails "assert(snapshot != NULL) failed: Worker should not be started"
Summary: Fixed a racing condition when shutting down NMT while worker thread is being started, also fixed a few mis-declared volatile pointers.
Reviewed-by: dholmes, dlong

dsamersoff@3478 1 /*
katleman@4376 2 * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
katleman@4376 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
dsamersoff@3478 4 *
dsamersoff@3478 5 * This code is free software; you can redistribute it and/or modify it
dsamersoff@3478 6 * under the terms of the GNU General Public License version 2 only, as
dsamersoff@3478 7 * published by the Free Software Foundation.
dsamersoff@3478 8 *
dsamersoff@3478 9 * This code is distributed in the hope that it will be useful, but WITHOUT
dsamersoff@3478 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
dsamersoff@3478 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
dsamersoff@3478 12 * version 2 for more details (a copy is included in the LICENSE file that
dsamersoff@3478 13 * accompanied this code).
dsamersoff@3478 14 *
dsamersoff@3478 15 * You should have received a copy of the GNU General Public License version
dsamersoff@3478 16 * 2 along with this work; if not, write to the Free Software Foundation,
dsamersoff@3478 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
dsamersoff@3478 18 *
dsamersoff@3478 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
dsamersoff@3478 20 * or visit www.oracle.com if you need additional information or have any
dsamersoff@3478 21 * questions.
dsamersoff@3478 22 *
dsamersoff@3478 23 */
dsamersoff@3478 24
dsamersoff@3478 25 #ifndef SHARE_VM_SERVICES_DIAGNOSTICCOMMAND_EXT_HPP
dsamersoff@3478 26 #define SHARE_VM_SERVICES_DIAGNOSTICCOMMAND_EXT_HPP
dsamersoff@3478 27
dsamersoff@3478 28 #undef HAVE_EXTRA_DCMD
dsamersoff@3478 29
dsamersoff@3478 30 #endif // SHARE_VM_SERVICES_DIAGNOSTICCOMMAND_HPP

mercurial