지금 지원 담당자와 채팅
지원 담당자와 채팅

Foglight for Java EE Technologies 5.9.11 - Installation Guide

Installing and Configuring Foglight for Java EE Technologies Integrating with JBoss Integrating with Apache Tomcat Integrating with WebLogic Domain Startup Scripts Integrating with WebSphere Integrating with WebSphere Liberty Integrating with Oracle AS Integrating with Spring Boot for Embedded Tomcat Creating a Generic Installation for Manual Java EE Agent Integration Managing Java EE Agent Installations, Integrations, and Configurations Managing Java EE Agent Configurations Managing Java EE Installation Java EE Integration Configuration FAQ and Troubleshooting Manually Integrating Application Server Appendix A: Java EE Application Methods AppendixB: Managing Permissions for the Java EE Integration Agent

Ignoring specific objects

Even with object tracking enabled, some object allocations may be considered uninteresting. For example, the StringBuffer class is allocated as a temporary object by boilerplate code and is automatically generated by Java compilers. As a result of string manipulation, these objects are generated but should not cause memory issues. Use the IgnoredAllocations property to indicate objects that should not be tracked, even if those allocations are performed by classes in the tracked class list. For more information about tracking object classes, see Tracking object classes .

By default, java.lang.StringBuffer and java.lang.StringBuilder are ignored.

1
On the Object Tracking tab, click Edit beside IgnoredAllocations.
6
Click Save.

If you manually edit the instrumentation.config file, use the following syntax to specify the ignored allocations.

IgnoredAllocations = ClassList();

Requests settings

The Requests instrumentation settings for a Java EE agent determine how the agent splits requests based on methods. Changing any of these settings can have performance implications. Review the provided information before changing any settings.

Setting the Maximum Request Fragment cache size

In the period between requests, the Java EE agent caches the data structures used to collect the data for request fragments. The MaxRequestFragmentCacheSize setting determines the maximum number of request fragments that are stored in the cache. The default value is 50. Set the value to zero (0) to disable the cache.

1
Click the Requests tab of the Edit dialog box.
2
Type a value in the MaxRequestFragmentCacheSize box.
3
Click Save.

If you manually edit the instrumentation.config file, use the following syntax to specify the maximum request fragment cache size.

MaxRequestFragmentCacheSize = 50;

Setting the Request Recursion Limit

The RecursionLimit configuration setting adjusts the number of recursive calls for which the Java EE agent collects detailed performance information. Beyond this number, the Java EE agent collects and aggregates timing information for the entire recursive sequence.

If you need to see more detail for each method call in a recursive sequence, you can increase this value. Set the value to zero (0) to see only the first method call, but none of the recursive calls. The default value is 5.

1
Click the Requests tab of the Edit dialog box.
2
Type a value in the RecursionLimit box.
3
Click Save.

If you manually edit the instrumentation.config file, use the following syntax to specify the recursion limit.

RecursionLimit = 5;

관련 문서

The document was helpful.

평가 결과 선택

I easily found the information I needed.

평가 결과 선택