AppD Archive

Unknown java.lang.Object:wait in call graph

CommunityUser
Splunk Employee
Splunk Employee

Hello,

I am analyzing the performance of my code thanks to AppDynamics solution but I often find calls for java.lang.Object: wait process I can't identify and are responsible of  increasing the execution time.

Here is a stack invocation example and captures:

RequestProcessor.processActionPerform:unknown (23ms self time, 22543 ms total time)
 ProductPopupAction.execute:138 (0ms self time, 22520 ms total time)
  ModifyProductCriteria.executeSpecific:146 (0ms self time, 22520 ms total time)
   CriteriaServicesImpl.getCriteriaDefinitions:157 (0ms self time, 22520 ms total time)
    CriteriaServicesBean.getCriteriaDefinitions:438 (0ms self time, 22520 ms total time)
     CriteriaServicesBean.getCriteriaDefinitions:454 (0ms self time, 22520 ms total time)
      CriteriaServicesBean.mapCriteriaEJBToCriterionDefinitions:244 (0ms self time, 22520 ms total time)
       CriteriaServicesBean.mapCriteriaEJBToCriterionDefinitions:288 (9753ms self time, 22520 ms total time)
        Object.wait:unknown (1893ms self time, 1893 ms total time)

Thanks for your help.

0 Karma

Arun_Dasetty
Super Champion

Hi Tony,

 By default we exclude certain third party packages, Can you please click "Packages have been excluded" link at the bottom of same screenshot you provided and see if any of the packages are related that should show down the stack and see if unexcluding the packages shows any additional details for new snapshots post saving changes to include list.

Keep us posted how it goes. We might need thread dumps and agent logs based on your response.

Regards.

Arun

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi!

 
Thank you for your help. We found out that the cause of our problems come from the method org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock:waitForTx by unexcluding the package org.jboss.*
We are continuing our analysis.
 
Regards,
 
Tony
0 Karma

Arun_Dasetty
Super Champion

Hi Tony,

Glad to hear that steps we suggested have helped to give visibility, yes org.jboss.* package is excluded from call graph view  by default so that user will focus on customer specific packages.

0 Karma
Get Updates on the Splunk Community!

The OpenTelemetry Certified Associate (OTCA) Exam

What’s this OTCA exam? The Linux Foundation offers the OpenTelemetry Certified Associate (OTCA) credential to ...

From Manual to Agentic: Level Up Your SOC at Cisco Live

Welcome to the Era of the Agentic SOC   Are you tired of being a manual alert responder? The security ...

Splunk Classroom Chronicles: Training Tales and Testimonials (Episode 4)

Welcome back to Splunk Classroom Chronicles, our ongoing series where we shine a light on what really happens ...