8249878: jfr_emergency_dump has secondary crashes
Reviewed-by: egahlin
This commit is contained in:
parent
3c2f5e08f7
commit
8ef88e5905
@ -423,7 +423,6 @@ const char* JfrEmergencyDump::chunk_path(const char* repository_path) {
|
|||||||
*/
|
*/
|
||||||
static bool prepare_for_emergency_dump(Thread* thread) {
|
static bool prepare_for_emergency_dump(Thread* thread) {
|
||||||
assert(thread != NULL, "invariant");
|
assert(thread != NULL, "invariant");
|
||||||
DEBUG_ONLY(JfrJavaSupport::check_java_thread_in_vm(thread));
|
|
||||||
if (thread->is_Watcher_thread()) {
|
if (thread->is_Watcher_thread()) {
|
||||||
// need WatcherThread as a safeguard against potential deadlocks
|
// need WatcherThread as a safeguard against potential deadlocks
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user