8237488: jdk/jfr/event/compiler/TestCompilerCompile.java failed due to "RuntimeException: No thread in event"

Reviewed-by: egahlin
This commit is contained in:
Markus Grönlund 2020-07-02 21:13:41 +02:00
parent dc0c0c7eca
commit 5a90271d01
9 changed files with 25 additions and 27 deletions

View file

@ -2045,7 +2045,6 @@ void JavaThread::exit(bool destroy_vm, ExitType exit_type) {
CLEAR_PENDING_EXCEPTION;
}
}
JFR_ONLY(Jfr::on_java_thread_dismantle(this);)
// Call Thread.exit(). We try 3 times in case we got another Thread.stop during
// the execution of the method. If that is not enough, then we don't really care. Thread.stop