--- old/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core/src/org/graalvm/compiler/core/CompilerThreadFactory.java 2017-07-07 09:29:46.000000000 -0700 +++ new/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core/src/org/graalvm/compiler/core/CompilerThreadFactory.java 2017-07-07 09:29:46.000000000 -0700 @@ -24,34 +24,19 @@ import java.util.concurrent.ThreadFactory; -import org.graalvm.compiler.debug.DebugConfig; - /** * Facility for creating {@linkplain CompilerThread compiler threads}. */ public class CompilerThreadFactory implements ThreadFactory { - /** - * Capability to get a thread-local debug configuration for the current thread. - */ - public interface DebugConfigAccess { - /** - * Get a thread-local debug configuration for the current thread. This will be null if - * debugging is disabled. - */ - DebugConfig getDebugConfig(); - } - protected final String threadNamePrefix; - protected final DebugConfigAccess debugConfigAccess; - public CompilerThreadFactory(String threadNamePrefix, DebugConfigAccess debugConfigAccess) { + public CompilerThreadFactory(String threadNamePrefix) { this.threadNamePrefix = threadNamePrefix; - this.debugConfigAccess = debugConfigAccess; } @Override public Thread newThread(Runnable r) { - return new CompilerThread(r, threadNamePrefix, debugConfigAccess); + return new CompilerThread(r, threadNamePrefix); } }