8234684: JFR crashes when rotating the JFR output during assertion failure
authormgronlun
Mon, 25 Nov 2019 20:18:54 +0100
changeset 59261 4cf1246fbb9c
parent 59260 b0a649295f25
child 59262 06970ab040d4
8234684: JFR crashes when rotating the JFR output during assertion failure Reviewed-by: egahlin, mseledtsov
src/hotspot/share/jfr/recorder/checkpoint/jfrCheckpointManager.cpp
--- a/src/hotspot/share/jfr/recorder/checkpoint/jfrCheckpointManager.cpp	Mon Nov 25 11:13:02 2019 -0800
+++ b/src/hotspot/share/jfr/recorder/checkpoint/jfrCheckpointManager.cpp	Mon Nov 25 20:18:54 2019 +0100
@@ -461,7 +461,6 @@
 }
 
 size_t JfrCheckpointManager::flush_type_set() {
-  assert(!SafepointSynchronize::is_at_safepoint(), "invariant");
   size_t elements = 0;
   {
     JfrCheckpointWriter writer(Thread::current());