Skip to content

Commit 41ab563

Browse files
committed
feat(asm): Clean up visitors
1 parent 15fe8c6 commit 41ab563

File tree

1 file changed

+0
-5
lines changed
  • dd-java-agent/instrumentation/jetty-common/src/main/java/datadog/trace/instrumentation/jetty9

1 file changed

+0
-5
lines changed

dd-java-agent/instrumentation/jetty-common/src/main/java/datadog/trace/instrumentation/jetty9/HandleVisitor.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,6 @@ public void visitMethodInsn(
172172
"getCurrentContext",
173173
"()Ldatadog/context/Context;",
174174
false);
175-
// super.visitVarInsn(ALOAD, CONTEXT_VAR);
176175
super.visitMethodInsn(
177176
INVOKESTATIC,
178177
Type.getInternalName(JettyBlockingHelper.class),
@@ -259,8 +258,6 @@ public void visitMethodInsn(
259258
super.visitInvokeDynamicInsn(
260259
"dispatch",
261260
"(Lorg/eclipse/jetty/server/Request;Lorg/eclipse/jetty/server/Response;"
262-
// + Type.getDescriptor(Flow.Action.RequestBlockingAction.class)
263-
// + Type.getDescriptor(AgentSpan.class)
264261
+ Type.getDescriptor(Context.class)
265262
+ ")Lorg/eclipse/jetty/server/HttpChannel$Dispatchable;",
266263
new Handle(
@@ -276,8 +273,6 @@ public void visitMethodInsn(
276273
Type.getInternalName(JettyBlockingHelper.class),
277274
"blockAndThrowOnFailure",
278275
"(Lorg/eclipse/jetty/server/Request;Lorg/eclipse/jetty/server/Response;"
279-
// + Type.getDescriptor(Flow.Action.RequestBlockingAction.class)
280-
// + Type.getDescriptor(AgentSpan.class)
281276
+ Type.getDescriptor(Context.class)
282277
+ ")V",
283278
false),

0 commit comments

Comments
 (0)