diff src/share/vm/runtime/thread.cpp @ 18603:43e2cc9a4fde

removed reference to com.oracle.graal.compiler.CompilerThread from VM code
author Doug Simon <doug.simon@oracle.com>
date Wed, 03 Dec 2014 18:53:22 +0100
parents fa981f5bb53a
children c307546c7b0a
line wrap: on
line diff
--- a/src/share/vm/runtime/thread.cpp	Wed Dec 03 16:07:22 2014 +0100
+++ b/src/share/vm/runtime/thread.cpp	Wed Dec 03 18:53:22 2014 +0100
@@ -1433,7 +1433,7 @@
 
 bool graal_counters_include(JavaThread* thread) {
   oop threadObj = thread->threadObj();
-  return !GraalCountersExcludeCompiler || (!thread->is_Compiler_thread() && (threadObj == NULL || threadObj->klass() != SystemDictionary::CompilerThread_klass()));
+  return !GraalCountersExcludeCompiler || !thread->is_Compiler_thread();
 }
 
 void JavaThread::collect_counters(typeArrayOop array) {