kylixs opened a new pull request #4858: URL: https://github.com/apache/skywalking/pull/4858
Please answer these questions before submitting pull request - Why submit this pull request? - [ ] Bug fix - [Y] New feature provided - [ ] Improve performance - Related issues when use skywalking agent ,arthas is can‘t work well https://github.com/apache/skywalking/issues/4820 ___ ### Bug fix - Bug description. - How to fix? ___ ### New feature or improvement - Describe the details and related test reports. ByteBuddy generates auxiliary classes with different random names every time. When other javaagent executes retransform, it will trigger the SkyWalking agent to enhance the class again. The bytecode regenerated by ByteBuddy is changed, the fields and imports are modified, and the retransform fails. Support class cache for ByteBuddy, solve the problem of other javaagent retransform classes enhanced by SkyWalking. https://github.com/hengyunabc/skywalking-error-demo test pass. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
