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!

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...