mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-07 14:40:22 +00:00
8351976: assert(vthread_epoch == current_epoch) failed: invariant
Reviewed-by: egahlin
This commit is contained in:
parent
2eecf159af
commit
e5666f56ff
@ -298,7 +298,9 @@ void JfrThreadLocal::exclude_vthread(const JavaThread* jt) {
|
||||
}
|
||||
|
||||
void JfrThreadLocal::include_vthread(const JavaThread* jt) {
|
||||
set(&jt->jfr_thread_local()->_vthread_excluded, false);
|
||||
JfrThreadLocal* const tl = jt->jfr_thread_local();
|
||||
Atomic::store(&tl->_vthread_epoch, static_cast<u2>(0));
|
||||
set(&tl->_vthread_excluded, false);
|
||||
JfrJavaEventWriter::include(vthread_id(jt), jt);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user