Application threads are getting blocked by Agent at IntelligentInstrumentationService.isMaskSet() method.

Document ID : KB000005853
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

 

Application threads are getting blocked by APM Agent.

This  basically a Java based Application called  monitoring by APM Java Agent and there  are about 490 threads blocked on IntelligentInstrumentationService.isMaskSet() method.

Error message :

at com.wily.introscope.probebuilder.extension.instrument.intelligent.IntelligentInstrumentationService.isMaskSet(IntelligentInstrumentationService.java:801)
- waiting to lock <0x00007f9d31e01970> (a java.lang.Class for com.wily.introscope.probebuilder.extension.instrument.intelligent.IntelligentInstrumentationService) ................................................

Resolution:

 

Although this method ( IntelligentInstrumentationService.isMaskSet() ) is efficiently implemented, due to high concurrent load, customer may experience low throughput.To avoid this problem you can disable Intelligent Instrumentation/ Smart Instrumentation.

To disable SI, the following properties need to be set:

introscope.agent.deep.instrumentation.enabled=false
introscope.agent.deep.trace.enabled=false

And recycle your Application / Java agent to make this change effective.