From 97c2167e1c198719e1ea18ddbaa3f2ba5b36fe17 Mon Sep 17 00:00:00 2001 From: Vladimir Kozlov Date: Thu, 19 Apr 2018 18:11:18 -0700 Subject: [PATCH] 8178825: unused variable threadObj in jvmci_counters_include Reviewed-by: ccheung --- src/hotspot/share/runtime/thread.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/hotspot/share/runtime/thread.cpp b/src/hotspot/share/runtime/thread.cpp index eeab7583cd0..bb407ad7d41 100644 --- a/src/hotspot/share/runtime/thread.cpp +++ b/src/hotspot/share/runtime/thread.cpp @@ -1495,7 +1495,6 @@ void WatcherThread::print_on(outputStream* st) const { jlong* JavaThread::_jvmci_old_thread_counters; bool jvmci_counters_include(JavaThread* thread) { - oop threadObj = thread->threadObj(); return !JVMCICountersExcludeCompiler || !thread->is_Compiler_thread(); }