Tue, 30 Apr 2013 09:17:06 -0400
8013214: BigApps fails due to 'fatal error: Illegal threadstate encountered: 6'
Summary: Grab and drop SR_lock to get the thread to honor the safepoint protocol
Reviewed-by: dcubed, coleenp
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 |