Remove old kotlin coroutine instrumentation (#1185)
This commit is contained in:
parent
d2d19ef486
commit
7cf42b1377
|
@ -96,7 +96,6 @@ public abstract class AbstractExecutorInstrumentation extends Instrumenter.Defau
|
|||
"java.util.concurrent.ForkJoinPool",
|
||||
"java.util.concurrent.ScheduledThreadPoolExecutor",
|
||||
"java.util.concurrent.ThreadPoolExecutor",
|
||||
"kotlinx.coroutines.scheduling.CoroutineScheduler",
|
||||
"org.eclipse.jetty.util.thread.QueuedThreadPool",
|
||||
"org.eclipse.jetty.util.thread.ReservedThreadExecutor",
|
||||
"org.glassfish.grizzly.threadpool.GrizzlyExecutorService",
|
||||
|
|
|
@ -44,11 +44,6 @@ public final class NonStandardExecutorInstrumentation extends AbstractExecutorIn
|
|||
@Override
|
||||
public Map<? extends ElementMatcher<? super MethodDescription>, String> transformers() {
|
||||
Map<ElementMatcher<? super MethodDescription>, String> transformers = new HashMap<>();
|
||||
transformers.put( // kotlinx.coroutines.scheduling.CoroutineScheduler
|
||||
named("dispatch")
|
||||
.and(takesArgument(0, Runnable.class))
|
||||
.and(takesArgument(1, named("kotlinx.coroutines.scheduling.TaskContext"))),
|
||||
JavaExecutorInstrumentation.class.getName() + "$SetExecuteRunnableStateAdvice");
|
||||
|
||||
transformers.put( // org.eclipse.jetty.util.thread.QueuedThreadPool
|
||||
named("dispatch").and(takesArguments(1)).and(takesArgument(0, Runnable.class)),
|
||||
|
|
Loading…
Reference in New Issue