From b5f034ad44316531ddd789213adc619750178754 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Gr=C3=B6nlund?= Date: Mon, 25 Nov 2019 20:18:54 +0100 Subject: [PATCH] 8234684: JFR crashes when rotating the JFR output during assertion failure Reviewed-by: egahlin, mseledtsov --- .../share/jfr/recorder/checkpoint/jfrCheckpointManager.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/hotspot/share/jfr/recorder/checkpoint/jfrCheckpointManager.cpp b/src/hotspot/share/jfr/recorder/checkpoint/jfrCheckpointManager.cpp index d5b121c1c15..244387f19de 100644 --- a/src/hotspot/share/jfr/recorder/checkpoint/jfrCheckpointManager.cpp +++ b/src/hotspot/share/jfr/recorder/checkpoint/jfrCheckpointManager.cpp @@ -461,7 +461,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());