diff -r be121cbf3284 -r 23e3cd901cb6 src/hotspot/share/jfr/jfr.hpp --- a/src/hotspot/share/jfr/jfr.hpp Mon Sep 02 21:08:41 2019 +0200 +++ b/src/hotspot/share/jfr/jfr.hpp Tue Sep 03 11:48:31 2019 +0200 @@ -48,9 +48,9 @@ static void on_unloading_classes(); static void on_thread_start(Thread* thread); static void on_thread_exit(Thread* thread); - static void exclude_thread(Thread* thread); - static bool is_excluded(Thread* thread); - static void include_thread(Thread* thread); + static void exclude_thread(const Thread* thread); + static bool is_excluded(const Thread* thread); + static void include_thread(const Thread* thread); static void on_java_thread_dismantle(JavaThread* jt); static void on_vm_shutdown(bool exception_handler = false); static bool on_flight_recorder_option(const JavaVMOption** option, char* delimiter);