src/hotspot/share/runtime/thread.cpp
changeset 49839 dd5db907ab7e
parent 49800 69d7398038c5
child 49848 fcd5df7aa235
--- a/src/hotspot/share/runtime/thread.cpp	Thu Apr 19 17:13:19 2018 -0700
+++ b/src/hotspot/share/runtime/thread.cpp	Thu Apr 19 18:11:18 2018 -0700
@@ -1495,7 +1495,6 @@
 jlong* JavaThread::_jvmci_old_thread_counters;
 
 bool jvmci_counters_include(JavaThread* thread) {
-  oop threadObj = thread->threadObj();
   return !JVMCICountersExcludeCompiler || !thread->is_Compiler_thread();
 }