8268368: Adopt cast notation for JavaThread conversions

Reviewed-by: dholmes, stefank
This commit is contained in:
Guoxiong Li 2021-06-23 02:21:24 +00:00 committed by David Holmes
parent b6cfca8a89
commit cd678a383f
64 changed files with 139 additions and 145 deletions

View file

@ -171,7 +171,7 @@ class JfrJavaEventWriterNotificationClosure : public ThreadClosure {
public:
void do_thread(Thread* t) {
if (t->is_Java_thread()) {
JfrJavaEventWriter::notify(t->as_Java_thread());
JfrJavaEventWriter::notify(JavaThread::cast(t));
}
}
};