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!

Splunk Observability Cloud’s AI Assistant in Action Series: Analyzing and ...

This is the second post in our Splunk Observability Cloud’s AI Assistant in Action series, in which we look at ...

Elevate Your Organization with Splunk’s Next Platform Evolution

 Thursday, July 10, 2025  |  11AM PDT / 2PM EDT Whether you're managing complex deployments or looking to ...

Splunk Answers Content Calendar, June Edition

Get ready for this week’s post dedicated to Splunk Dashboards! We're celebrating the power of community by ...