File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
arex-agent-core/src/main/java/io/arex/agent/instrumentation Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 18
18
import io .arex .inst .runtime .service .DataService ;
19
19
import io .arex .inst .runtime .util .LogUtil ;
20
20
import java .util .List ;
21
+ import java .util .concurrent .ForkJoinTask ;
21
22
import net .bytebuddy .agent .builder .ResettableClassFileTransformer ;
22
23
23
24
import java .io .File ;
@@ -56,6 +57,15 @@ private void init(String agentArgs) {
56
57
RecordLimiter .init (HealthManager ::acquire );
57
58
ConfigService .INSTANCE .loadAgentConfig (agentArgs );
58
59
initDataCollector ();
60
+ loadForkJoinTask ();
61
+ }
62
+
63
+ /**
64
+ * Load the ForkJoinTask inner class in advance for transform
65
+ * ex: java.util.concurrent.ForkJoinTask$AdaptedCallable
66
+ */
67
+ private void loadForkJoinTask () {
68
+ ForkJoinTask .class .getDeclaredClasses ();
59
69
}
60
70
61
71
private void installSerializer () {
You can’t perform that action at this time.
0 commit comments