--- a/src/hotspot/share/jfr/jfr.cpp Thu Oct 10 17:36:57 2019 +0200
+++ b/src/hotspot/share/jfr/jfr.cpp Fri Oct 11 19:46:05 2019 +0200
@@ -71,15 +71,15 @@
JfrThreadLocal::on_exit(t);
}
-void Jfr::exclude_thread(const Thread* t) {
+void Jfr::exclude_thread(Thread* t) {
JfrThreadLocal::exclude(t);
}
-void Jfr::include_thread(const Thread* t) {
+void Jfr::include_thread(Thread* t) {
JfrThreadLocal::include(t);
}
-bool Jfr::is_excluded(const Thread* t) {
+bool Jfr::is_excluded(Thread* t) {
return t != NULL && t->jfr_thread_local()->is_excluded();
}