8178825: unused variable threadObj in jvmci_counters_include
authorkvn
Thu, 19 Apr 2018 18:11:18 -0700
changeset 49839 dd5db907ab7e
parent 49838 b37e0785ce0b
child 49840 799e6e42b95f
8178825: unused variable threadObj in jvmci_counters_include Reviewed-by: ccheung
src/hotspot/share/runtime/thread.cpp
--- 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();
 }