src/hotspot/share/jfr/jfr.cpp
branchJEP-349-branch
changeset 57987 23e3cd901cb6
parent 57870 00860d9caf4d
child 58157 9dca61a7df19
--- a/src/hotspot/share/jfr/jfr.cpp	Mon Sep 02 21:08:41 2019 +0200
+++ b/src/hotspot/share/jfr/jfr.cpp	Tue Sep 03 11:48:31 2019 +0200
@@ -71,15 +71,15 @@
   JfrThreadLocal::on_exit(t);
 }
 
-void Jfr::exclude_thread(Thread* t) {
+void Jfr::exclude_thread(const Thread* t) {
   JfrThreadLocal::exclude(t);
 }
 
-void Jfr::include_thread(Thread* t) {
+void Jfr::include_thread(const Thread* t) {
   JfrThreadLocal::include(t);
 }
 
-bool Jfr::is_excluded(Thread* t) {
+bool Jfr::is_excluded(const Thread* t) {
   return t != NULL && t->jfr_thread_local()->is_excluded();
 }