From 06f9b12d6de1fbe524280361ed3254d0268d0610 Mon Sep 17 00:00:00 2001 From: Denghui Dong Date: Mon, 2 Mar 2020 10:30:20 +0800 Subject: [PATCH] [Backport] 8234684: JFR crashes when rotating the JFR output during assertion failure Summary: Test Plan: jdk/jfr Reviewed-by: yuleil Issue: https://github.com/alibaba/dragonwell8/issues/112 --- src/share/vm/jfr/recorder/checkpoint/jfrCheckpointManager.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/share/vm/jfr/recorder/checkpoint/jfrCheckpointManager.cpp b/src/share/vm/jfr/recorder/checkpoint/jfrCheckpointManager.cpp index 4e98a4e8b..1eb7eccfe 100644 --- a/src/share/vm/jfr/recorder/checkpoint/jfrCheckpointManager.cpp +++ b/src/share/vm/jfr/recorder/checkpoint/jfrCheckpointManager.cpp @@ -494,7 +494,6 @@ bool JfrCheckpointManager::is_type_set_required() { } size_t JfrCheckpointManager::flush_type_set() { - assert(!SafepointSynchronize::is_at_safepoint(), "invariant"); size_t elements = 0; { JfrCheckpointWriter writer(Thread::current()); -- GitLab