8247530: JfrCheckpointManager failed "assert(!SafepointSynchronize::is_at_safepoint()) failed: invariant"
Reviewed-by: egahlin
This commit is contained in:
parent
6cdf06f02b
commit
898c638b95
@ -385,7 +385,6 @@ void JfrCheckpointManager::on_rotation() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void JfrCheckpointManager::clear_type_set() {
|
void JfrCheckpointManager::clear_type_set() {
|
||||||
assert(!SafepointSynchronize::is_at_safepoint(), "invariant");
|
|
||||||
assert(!JfrRecorder::is_recording(), "invariant");
|
assert(!JfrRecorder::is_recording(), "invariant");
|
||||||
Thread* t = Thread::current();
|
Thread* t = Thread::current();
|
||||||
DEBUG_ONLY(JfrJavaSupport::check_java_thread_in_native(t));
|
DEBUG_ONLY(JfrJavaSupport::check_java_thread_in_native(t));
|
||||||
@ -398,7 +397,6 @@ void JfrCheckpointManager::clear_type_set() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void JfrCheckpointManager::write_type_set() {
|
void JfrCheckpointManager::write_type_set() {
|
||||||
assert(!SafepointSynchronize::is_at_safepoint(), "invariant");
|
|
||||||
{
|
{
|
||||||
Thread* const thread = Thread::current();
|
Thread* const thread = Thread::current();
|
||||||
DEBUG_ONLY(JfrJavaSupport::check_java_thread_in_native(thread));
|
DEBUG_ONLY(JfrJavaSupport::check_java_thread_in_native(thread));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user