The present invention provides a method, apparatus, and computer
instructions for program analysis. In an exemplary embodiment, a target
program is loaded onto a data processing system including a program
analysis software component. Hierarchies in the form of control flow and
containment information about the target program are determined, using
either static or dynamic, and direct (e.g., instrumented profilers) or
indirect (e.g., monitored runtime), processing techniques, depending on
the application and program analysis tool being used. The control flow
and object containment information are then presented in a related and
selected format for consideration by a user. One embodiment includes a
program and GUI (graphical user interface) operably providing control
flow-annotated object containment hierarchies to a user, the hierarchies
including control flow, allocation and storage information added to
object containment information.