Question on Java threads
search cancel

Question on Java threads

book

Article ID: 145449

calendar_today

Updated On:

Products

CA Application Performance Management Agent (APM / Wily / Introscope) CA Application Performance Management (APM / Wily / Introscope) INTROSCOPE DX Application Performance Management

Issue/Introduction

Do you know how many threads Wily creates per JVM? When do they use Application threads?

 

Environment

Release : 10.7.0

Component : APM Agents on Docker Environment 

Cause

By design

Resolution

Do you know how many threads Wily creates per JVM?

-There are default threads that are always created upon startup and performing common tasks.  Depending on the configuration/environment, additional threads will be created to handle those types of configurations/environment).  A thread dump can help identify the current running number of threads.

 

When do they use Application threads?

- Usually when instrumented methods are called, our tracer code is called before and after the method execution to gather data.  Normally this is very lightweight but in some circumstances, the weight can increase.