8234684: JFR crashes when rotating the JFR output during assertion failure

Reviewed-by: egahlin, mseledtsov
This commit is contained in:
Markus Grönlund 2019-11-25 20:18:54 +01:00
parent f81c192da9
commit b5f034ad44

View File

@ -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());