8178825: unused variable threadObj in jvmci_counters_include

Reviewed-by: ccheung
This commit is contained in:
Vladimir Kozlov 2018-04-19 18:11:18 -07:00
parent f9baaf99ac
commit 97c2167e1c

View File

@ -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();
}