Oh, I see your point. It was added by another PMC member, to make the SkyWalking could work with other agents. See https://github.com/apache/skywalking/issues/3155. Basically, we still don't do RETRANSFORMATION.
Sheng Wu 吴晟 Twitter, wusheng1108 Li BingLong(智能平台) <[email protected]> 于2021年1月23日周六 下午11:00写道: > OK, I don't remember we enable RETRANSFORMATION. > > > > We are blocking adding this feature for a very long time, due to make the > agent installed service stable. > > > > > I am a little confused about what you said. > > > agentBuilder.type(pluginFinder.buildMatch()) > .transform(new Transformer(pluginFinder)) > .with(AgentBuilder.RedefinitionStrategy.RETRANSFORMATION) > .with(new Listener()) > .installOn(instrumentation); > > > > The former code is in master. > > > https://github.com/apache/skywalking/blob/master/apm-sniffer/apm-agent/src/main/java/org/apache/skywalking/apm/agent/SkyWalkingAgent.java > >
