wangkang4 commented on issue #11675:
URL: https://github.com/apache/skywalking/issues/11675#issuecomment-1867478079

   > > > > Hello, does skywalking support arthas' retransform command? After 
the configuration of agent.is_cache_enhanced_class and agent.class_cache_mode 
is enabled, the redefine command is successfully executed, but the retransform 
command fails. Using the jad command, you found that skywalking added 
properties and methods to the class.
   > > > 
   > > > 
   > > > IIRC, IS_CACHE_ENHANCED_CLASS flag has been removed since SkyWalking 
Agent 9.0
   > > 
   > > 
   > > How to modify skywalking javaagent to support arthas hot load class 
command, is there a case code?
   > 
   > As you may notice in 
[apache/skywalking-java#659](https://github.com/apache/skywalking-java/pull/659),
 we are still working on this topic. I suppose after that PR, we may stabilize 
this feature.
   > 
   > Feel free to test [this 
PR](https://github.com/apache/skywalking-java/pull/659) for your use cases. 
Feedback is welcome.
   
   为什么使用skywalking的javaagent会生成很多带有$的类?使用arthas的trace命令查看调用链,发现执行的都是那些生成的代理类.
   
![WechatIMG328](https://github.com/apache/skywalking/assets/52090273/9da8e7f5-2fe8-474a-9254-1c1684e459bc)
   
   
![WechatIMG326](https://github.com/apache/skywalking/assets/52090273/badeabd7-837b-41b7-82e8-3c23bbe69811)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to