Font Size: a A A

Research And Application Of Real Time Performance Profiling System Based On JVMTI

Posted on:2010-12-22Degree:MasterType:Thesis
Country:ChinaCandidate:J L ChenFull Text:PDF
GTID:2178360272970120Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
With the developing of Java technology, the applications of Java software have spread from desktop applications to enterprise platforms, information systems, control systems and embedded systems. But the architecture of Java software determines that the Java applications are not as effective as the applications developed by C/C++. So the performance optimization of Java software is very necessary.Many contemporary Java applications rely on a complex set of distributed dependencies and moving parts. Numerous external factors can have an impact on your application's performance and availability. These influences are virtually impossible to eliminate completely or account for and accurately emulate in a preproduction environment. It is wise to do low-level granular profiling of Java performance efficiently. The data from profiling can provide valuable insights into system operation and reveal constraints and influences that affect an environment's stability and performance.The JVMTI(Java Virtual Machine Tool Interface) is a programming interface used by development and monitoring tools. It provides both a way to inspect the state and to control the execution of applications running in the Java virtual machine(VM). JVMTI is intended to provide a VM interface for the full breadth of tools that need access to VM state, including but not limited to: profiling, debugging, monitoring, thread analysis, and coverage analysis tools.This paper studies the JVMTI agent mechanism, designs and implements JVMTIJava interface based on the study, namely the Java profiling programming interface using JVMTI. JVMTIJava is a higher level interface for profiling Java virtual machine. With JVMTIJava developers can work more efficiently. This paper introduces the JNI technology used in the JVMTIJava interface, the design and implementation of the native profiling agent, the classification about the JVMTIJava interface, and details illustrated the implementation of Memory snapshot function of the JVMTIJava interface.Finally this paper designs and implements a real-time performance profiling system based on the real demand of the enterprises. This system uses B/S framework. Customers can view the running status of Java application via Web browser. The system achieves the performance profiling about the virtual machine instance of Java application inspected by itself. Furthermore, the system uses Comet strategy of Reverse Ajax and FusionCharts component to display the real-time profiling data obtained from the sever end. At last a test of that system is done.
Keywords/Search Tags:JVMTI, Performance Profiling, Reverse Ajax
PDF Full Text Request
Related items