The term, profiling resource, refers to the level of granularity used to open the profiling views. The levels of resource are found in the Profiling Monitor view. Selecting a resource enables you to open an aggregated view based on that resource. For example, a view opened from the host level enables you to see profile data from processes and agents that had been associated with the selected host. The available resources are listed below.
A Java project
contains source code and related files for building a Java program. A Java project
also maintains a model of its contents. This model includes information about the
type hierarchy, references and declarations of Java elements. A folder
(or directory)
is a container that may contain any kind of file.
By default, these objects are hidden from view. You can make them visible by using the Preferences window (Window > Preferences > Profiling and Logging > Appearance) and clearing the Folders check box.
A monitor is a logical container for profiling information that is collected from a group of processes. The views at the monitor level show profiling data collected from these processes. Monitors are useful for aggregating profiling data collected from processes running in a distributed application.
Monitors are represented by monitor objects. By default, these objects are hidden from view. You can make the monitor objects visible by selecting Distributed layout on the Profiling Monitor toolbar.
A host is a machine, or
a machine execution partition, on which an application under test resides. The host
owns the processes that are profiled. A host runs processes. You can specify a host
either by its name or by its IP address.
Different monitors may have hosts with the same name. Such hosts are unique for each monitor because the resources in the Profiling Monitor view are identified by their full path.
By default, these objects are hidden from view. You can make the monitor objects visible by selecting Distributed layout on the Profiling Monitor toolbar.
The process object represents the application being profiled.
Processes are identified by the name of the process and the ID number. The name of the process takes two forms, depending on how the process was launched:
Once you start profiling a Java application, the process and the associated agents are displayed in the Profiling Monitor view.
In the Agent Controller deployment model, an agent is a reusable binary file that provides services to the host process and, more importantly, provides a portal by which application data can be forwarded to attached clients. Agents collect data about the execution of an application program. The views of the Profiling and Logging Perspective provide visualizations of the information that is collected by agents. The Java Profiling Agent is a profiling agent.
The Java Profiling Agent runs in the JVM (Java Virtual Machine) process and receives notifications of JVM events, based on the JVMPI (Java Virtual Machine Profiler Interface). This agent is best used to identify performance details such as the classes or methods being responsible for poor execution performance. The Java Profiling Agent is also used to analyze application heap and to find memory leaks.
A process can have one or more agents running within it simultaneously. Even if the process does not contain an agent initially, some processing condition can result in the creation of an agent at some point during the life cycle of the process. Any of the tiers that comprise an application may contain agents.
You can start monitoring only those agents that are Paused or Detached. Since each agent can be attached by only one client at a time, an agent that is already monitoring cannot be used again. An agent that is terminated cannot be monitored.
The state of an agent is identified by the following symbols:
A profiling set is a set of criteria that is used to narrow down the scope of the profiling data collected. The profiling sets allow you to collect specific information for analysis. The Profiling Tool provides three profiling sets:
Related concepts
Overview of the Profiling Tool
Related tasks
Profiling an application
Using the Profiling Monitor view
(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.