Knowledge Base

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I enable allocation tracking for core Java Classes?

Question

I am using the Object Instance Tracking feature. When I try to Drill Down on a specific class, I get the following message when I go to the Allocation Tracking tab:

 

"Allocation Tracking is not enabled for System / core Java classes."

 

How can I enable allocation tracking for system/core Java classes?

 

Answer

AppDynamics does not track allocation for core Java classes by default. If you want to track all objects, then you can use the following controller property:

 

  • Access the controller URL with allowObjectActivityTraceOnAllObjects=true. For example:
http://<controller-host>:<controller-port>/controller/?allowObjectActivityTraceOnAllObjects=true

 

Note that tracking allocation for the core Java classes may cause high overhead. Use this at your own risk.

 

We do not turn this on by default because it causes a lot more tracking and therefore much higher overhead on the agent side.

Version history
Revision #:
3 of 3
Last update:
‎11-19-2018 06:58 AM
Updated by:
 
Labels (1)
Contributors
0 Kudos