You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BTrace stumbled here in a infinite loop? maybe due to the unsafe collection "weakhashmap", please have a look and fix it, thanks in advance!
at java.util.WeakHashMap.get(WeakHashMap.java:403)
at com.sun.btrace.runtime.ClassCache.getInfos(ClassCache.java:80)
at com.sun.btrace.runtime.ClassCache.get(ClassCache.java:66)
at com.sun.btrace.runtime.ClassCache.get(ClassCache.java:62)
at com.sun.btrace.runtime.ClassFilter.isSubTypeOf(ClassFilter.java:223)
at com.sun.btrace.runtime.BTraceProbeSupport.getApplicableHandlers(BTraceProbeSupport.java:128)
at com.sun.btrace.runtime.BTraceProbePersisted.getApplicableHandlers(BTraceProbePersisted.java:372)
at com.sun.btrace.runtime.Instrumentor.create(Instrumentor.java:83)
at com.sun.btrace.runtime.BTraceClassWriter.addInstrumentor(BTraceClassWriter.java:68)
at com.sun.btrace.runtime.BTraceTransformer.transform(BTraceTransformer.java:196)
at sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:428)
The text was updated successfully, but these errors were encountered:
todLiu
changed the title
Starting 2 different trace processes in 1 server ran into infinite loop?
Starting 2 different Btrace processes in 1 server ran into infinite loop?
Oct 17, 2019
Please check the trace captured attached, Application launched multi-thread to process its business,meanwhile btrace jumps in and do reflection ,Sometimes the application runs into infinite loop . I really suspect the root cause is "WeakHashMap", we have packaged another jar to check if this issue will happen again.
BTrace stumbled here in a infinite loop? maybe due to the unsafe collection "weakhashmap", please have a look and fix it, thanks in advance!
at java.util.WeakHashMap.get(WeakHashMap.java:403)
at com.sun.btrace.runtime.ClassCache.getInfos(ClassCache.java:80)
at com.sun.btrace.runtime.ClassCache.get(ClassCache.java:66)
at com.sun.btrace.runtime.ClassCache.get(ClassCache.java:62)
at com.sun.btrace.runtime.ClassFilter.isSubTypeOf(ClassFilter.java:223)
at com.sun.btrace.runtime.BTraceProbeSupport.getApplicableHandlers(BTraceProbeSupport.java:128)
at com.sun.btrace.runtime.BTraceProbePersisted.getApplicableHandlers(BTraceProbePersisted.java:372)
at com.sun.btrace.runtime.Instrumentor.create(Instrumentor.java:83)
at com.sun.btrace.runtime.BTraceClassWriter.addInstrumentor(BTraceClassWriter.java:68)
at com.sun.btrace.runtime.BTraceTransformer.transform(BTraceTransformer.java:196)
at sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:428)
The text was updated successfully, but these errors were encountered: