diff -r 43229acd75ea -r e77a97d0edbb src/hotspot/share/jfr/jfr.hpp --- a/src/hotspot/share/jfr/jfr.hpp Thu Oct 10 17:36:57 2019 +0200 +++ b/src/hotspot/share/jfr/jfr.hpp Fri Oct 11 19:46:05 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(const Thread* thread); - static bool is_excluded(const Thread* thread); - static void include_thread(const Thread* thread); + static void exclude_thread(Thread* thread); + static bool is_excluded(Thread* thread); + static void include_thread(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);