Open steverao opened 2 months ago
Is there any way to exclude some package that TTL don't transform?
@steverao
At present there's no option of TTL Agent
to exclude some packages from TTL Agent
class transformation.
Providing the option of TTL Agent
(for example: -D
option) is a nice function,
so user can workaround the problems caused by class transformation.
Providing the option of
TTL Agent
(for example:-D
option) is a nice function, so user can workaround the problems caused by class transformation.
Yes, if we can provide relevant ability for users, it will be better.
We encountered a problem by using TTL Agent recently. The phenomenon is as follows: When my application use TTL Agent and other Java Agent together, it will be blocked. The starting log of my application is as follows:
Then, I get jstack about my application process and found below information:
at com.alibaba.cpc.jfr.JFRContinuousProfileRecorder.init(JFRContinuousProfileRecorder.java:45)
is the code from our Java Agent. It seems our Java Agent usejdk.jfr.*
class and then TTL Agent transformed them failed and cause relevant thread print a lot of logs and can't stop.Is there any way to exclude some package that TTL don't transform? Thank you very much!