Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does it support retransformer and removeTransformer? #1

Open
xiaoshao opened this issue Jul 4, 2017 · 4 comments
Open

Does it support retransformer and removeTransformer? #1

xiaoshao opened this issue Jul 4, 2017 · 4 comments

Comments

@xiaoshao
Copy link

xiaoshao commented Jul 4, 2017

No description provided.

@idelvall
Copy link
Member

idelvall commented Jul 4, 2017

Yes, it should. The library is designed to support multiple transformers registered. Each one of them would be represented by the callbackId value.
The code in
https://github.com/brutusin/instrumentation/blob/master/src/main/java/org/brutusin/instrumentation/Agent.java#L29 should give you some insights on how to do that.
Let me know if you need help.
Cheers

@idelvall
Copy link
Member

idelvall commented Jul 4, 2017

BTW, your question made me rethink (it's been a while), and raised new questions (#3)

@xiaoshao
Copy link
Author

I checked the code, it just add transform. no retransformer and removeTransformer

@weipengd
Copy link

No description provided.

I need some guidance, which is directly specified -javaagent: instrumentation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants