we are using APM Java Agent with Jboss. We find a thread was blocked by the APM agent. Can we confirm that APM agent in fact blocked the thread? What's the workaround for this? Stack trace generated by jstack.
stackTrace:
java.lang.Thread.State: BLOCKED (on object monitor)
at com.wily.introscope.agent.trace.cas.SharedDataStructure5$SynchronizedCounter.decrease(SharedDataStructure5.java:522)
- waiting to lock <0x00000001d3ede3d0> (a java.lang.Object)
at com.wily.introscope.agent.trace.cas.SharedDataStructure5$SynchronizedCounter.decrease(SharedDataStructure5.java:592)
at com.wily.introscope.agent.trace.cas.SharedDataStructure5.decrease(SharedDataStructure5.java:1113)
at com.wily.introscope.agent.trace.hc2.BlamePointTracer.decreaseConcurrentInvocationCounter(BlamePointTracer.java:1558)
at com.wily.introscope.agent.trace.hc2.BlamePointTracer.doOnEndTrace(BlamePointTracer.java:1394)
at com.wily.introscope.agent.trace.cas.TransactionStructure.submitNextEndTransaction(TransactionStructure.java:540)
at com.wily.introscope.agent.trace.hc2.ASingleInstanceTracerFactoryHC.submitToTransactionStructureOnEndTrace(ASingleInstanceTracerFactoryHC.java:223)
at com.wily.introscope.agent.trace.hc2.BlamePointTracer.ITracer_finishTrace(BlamePointTracer.java:463)
at com.wily.introscope.agent.trace.InvocationData.IMethodTracer_finishTrace(InvocationData.java:1544)
Release : 20.2
Component : Introscope
In this case, we have determined that the issue is on the application side and not agent. Please review the following technical document on how to troubleshoot this type of issues.
https://ca-broadcomcsm.wolkenservicedesk.com/wolken/esd/knowledgebase_search?articleId=145354