ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzaha_5.4.0.1/jvmpi.htm

64 lines
4.7 KiB
HTML
Raw Permalink Normal View History

2024-04-02 14:02:31 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="concept" />
<meta name="DC.Title" content="Java Virtual Machine Profiler Interface" />
<meta name="abstract" content="The Java Virtual Machine Profiler Interface (JVMPI) is an experimental interface for profiling the Java virtual machine (JVM), which was first disclosed and implemented in Sun's Java 2 SDK, Standard Edition (J2SDK), version 1.2." />
<meta name="description" content="The Java Virtual Machine Profiler Interface (JVMPI) is an experimental interface for profiling the Java virtual machine (JVM), which was first disclosed and implemented in Sun's Java 2 SDK, Standard Edition (J2SDK), version 1.2." />
<meta name="DC.Relation" scheme="URI" content="profperf.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="jvmpi" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>Java Virtual Machine Profiler Interface</title>
</head>
<body id="jvmpi"><a name="jvmpi"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Java Virtual Machine Profiler Interface</h1>
<div><p>The Java™ Virtual Machine Profiler Interface (JVMPI) is an
experimental interface for profiling the Java virtual machine (JVM), which was first
disclosed and implemented in Sun's Java 2 SDK, Standard Edition (J2SDK), version
1.2.</p>
<p><img src="./delta.gif" alt="Start of change" />JVMTI is the superceder of JVMPI and the Java Virtual
Machine Debugger Interface (JVMDI). JVMTI contains all the functionality of
both JVMDI and JVMPI, plus new functions. JVMTI was added as part of J2SE
5.0. In future releases, the JVMDI and JVMPI interfaces will no longer be
offered, and JVMTI will be the only option available.<img src="./deltaend.gif" alt="End of change" /></p>
<p><img src="./delta.gif" alt="Start of change" />For more information about implementing JVMTI, see the <a href="http://java.sun.com/j2se/1.5.0/docs/guide/jvmti/index.html" target="_blank">JVMTI Reference page</a> at the Sun Microsystems, Inc.
Web site.<img src="./deltaend.gif" alt="End of change" /></p>
<p>JVMPI/JVMTI support places hooks in the JVM and the Just-in-time (JIT)
compiler, which when activated, provide event information to a profiling agent.
The profiling agent is implemented as an integrated language environment
(ILE) service program. The profiler sends control information to the JVM
for enabling and disabling JVMPI/JVMTI events. For example, the profiler may
not be interested in method Entry or Exit hooks and could tell the JVM that
it does not want to receive these event notifications. The JVM and JIT have
JVMPI/JVMTI event hooks embedded that send event notifications to the profiling
agent if the event is enabled. The profiler tells the JVM which events are
of interest and the JVM sends notifications of the events to the profiler
when they occur.</p>
<p>The service program QSYS/QJVAJVMPI provides the JVMPI functions.</p>
<p><img src="./delta.gif" alt="Start of change" />A service program, called QJVAJVMTI, which resides
in the QSYS library, supports the JVMTI functions.<img src="./deltaend.gif" alt="End of change" /></p>
<p>For more information, see <a href="http://java.sun.com/j2se/1.3/docs/guide/jvmpi/jvmpi.html" target="_blank">JVMPI</a> by Sun Microsystems, Inc.</p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="profperf.htm" title="System wide central processing unit (CPU) profiling calculates the relative amount of CPU time that is spent in each Java method and all system functions in use by your Java program.">Java profiling performance tools</a></div>
</div>
</div>
</body>
</html>