src/hotspot/share/jfr/support/jfrThreadLocal.cpp
branchJEP-349-branch
changeset 57987 23e3cd901cb6
parent 57983 a57907813a83
child 58100 0e549560be5e
--- a/src/hotspot/share/jfr/support/jfrThreadLocal.cpp	Mon Sep 02 21:08:41 2019 +0200
+++ b/src/hotspot/share/jfr/support/jfrThreadLocal.cpp	Tue Sep 03 11:48:31 2019 +0200
@@ -179,12 +179,12 @@
   return in_ByteSize(offset_of(JfrThreadLocal, _java_event_writer));
 }
 
-void JfrThreadLocal::exclude(Thread* t) {
+void JfrThreadLocal::exclude(const Thread* t) {
   assert(t != NULL, "invariant");
   t->jfr_thread_local()->_excluded = true;
 }
 
-void JfrThreadLocal::include(Thread* t) {
+void JfrThreadLocal::include(const Thread* t) {
   assert(t != NULL, "invariant");
   t->jfr_thread_local()->_excluded = false;
 }