Java Platform Profiling Architecture (JSR 163)

View: [ 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 ]

Articles
  

Articles:
  • HPROF: A Heap/CPU Profiling Tool in J2SE 5.0 by Kelly O'Hair   - [Clicks: 99]
    The Java 2 Platform Standard Edition (J2SE) has always provided a simple commandline profiling tool called HPROF for heap and cpu profiling. HPROF is actually a JVM native agent library which is dynamically loaded through a command line option, at JVM startup, and becomes part of the JVM process. By supplying HPROF options at startup, users can request various types of heap and/or cpu profiling features from HPROF. The data generated can be in textual or binary format, and can be used to track down and isolate performance problems involving memory usage and inefficient code. The binary format file from HPROF can be used with tools such as HAT to browse the allocated objects in the heap. In J2SE Version 5.0, HPROF has been implemented on the new Java Virtual Machine Tool Interface (JVM TI).
    http://java.sun.com/developer/technicalArticles/Programming/HPROF.html - Nov, 2004
  • The JVMPI Transition to JVMTI by Kelly O'Hair   - [Clicks: 57]
    Have you ever heard about or used JVMPI? Are you aware that the JVMPI interface has always been experimental and is being replaced with JVMTI? This article describes the basics of converting JVMPI agents into JVMTI agents, and provides some good tips on problems to avoid and techniques to use with JVMTI.
    http://java.sun.com/developer/technicalArticles/Programming/jvmpitransition/ - Jul, 2004
  • Creating a Debugging and Profiling Agent with JVMTI by C.K Prasad, Rajesh Ramchandani, Gopinath Rao, Kim Levesque   - [Clicks: 90]
    This article illustrates how to use JVMTI to create a debugging and profiling tool for Java applications. Such a tool, also called an agent, uses the functionality exposed by the interface to register for notification of events as they occur in the application, and to query and control the application. JVMTI documentation is available here. A JVMTI agent can be useful for debugging and tuning an application. It can illustrate aspects of the application, such as memory allocation, CPU utilization, and lock contention.
    http://java.sun.com/developer/technicalArticles/Programming/jvmti/ - Jun, 2004

[Top]