8249878: jfr_emergency_dump has secondary crashes

Reviewed-by: egahlin
This commit is contained in:
Markus Grönlund 2020-10-15 14:07:52 +00:00
parent 3c2f5e08f7
commit 8ef88e5905

View File

@ -423,7 +423,6 @@ const char* JfrEmergencyDump::chunk_path(const char* repository_path) {
*/
static bool prepare_for_emergency_dump(Thread* thread) {
assert(thread != NULL, "invariant");
DEBUG_ONLY(JfrJavaSupport::check_java_thread_in_vm(thread));
if (thread->is_Watcher_thread()) {
// need WatcherThread as a safeguard against potential deadlocks
return false;