-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
support loading agent dynamically #170
base: master
Are you sure you want to change the base?
Conversation
pom.xml
Outdated
<source>1.6</source> | ||
<target>1.6</target> | ||
<source>1.7</source> | ||
<target>1.7</target> | ||
<encoding>${project.build.sourceEncoding}</encoding> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TTL support jdk 1.6, so do not modify the source/target level please.
Codecov Report
@@ Coverage Diff @@
## master #170 +/- ##
=========================================
Coverage 74.68% 74.68%
Complexity 133 133
=========================================
Files 15 15
Lines 470 470
Branches 52 52
=========================================
Hits 351 351
Misses 104 104
Partials 15 15 Continue to review full report at Codecov.
|
我发现动态加载有时候会失败,ttl值没有正常生效。但是又找不到规律 |
能否把调用的情况详细贴出来,方便分析下 |
暂时解决这个问题了,刚开始我是在junit rule 里面加载agent,这样会出现随机的结果,有时候生效,有时候无效,后面我改成在junit runner静态初始化的时候加载,就OK了。 |
1ee0142
to
a71685b
Compare
429ee1a
to
ce9999a
Compare
12a6014
to
40641ae
Compare
bbab269
to
8af8392
Compare
b0d8320
to
9a41a04
Compare
7d5683c
to
251f61c
Compare
722c221
to
efc5d4d
Compare
caaa6bc
to
fcb140a
Compare
4babb5b
to
18ae310
Compare
5ef8ac4
to
e18e3ee
Compare
6dbb1df
to
59d762a
Compare
2c5d3b6
to
88fc619
Compare
244300e
to
c9beab0
Compare
357cf9a
to
b94b36a
Compare
according to Java Agent and Instrumentation APIs,add entry "agentmain" and "Agent-Class" config in MANIFEST