changeset 50350:dd5db907ab7e

8178825: unused variable threadObj in jvmci_counters_include Reviewed-by: ccheung
author kvn
date Thu, 19 Apr 2018 18:11:18 -0700
parents b37e0785ce0b
children 799e6e42b95f
files src/hotspot/share/runtime/thread.cpp
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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();
 }