c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved.
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk This code is free software; you can redistribute it and/or modify it
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk under the terms of the GNU General Public License version 2 only, as
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk published by the Free Software Foundation.
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk This code is distributed in the hope that it will be useful, but WITHOUT
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk version 2 for more details (a copy is included in the LICENSE file that
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk accompanied this code).
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk You should have received a copy of the GNU General Public License version
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk 2 along with this work; if not, write to the Free Software Foundation,
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk or visit www.oracle.com if you need additional information or have any
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk version="1.0">
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk <xsl:output method="text" omit-xml-declaration="yes"/>
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk /* Constants */
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk /* Errors */
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenktypedef enum {
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk} jvmtiError;
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk <xsl:apply-templates select="eventsection" mode="enum"/>
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk /* Pre-Declarations */
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk<xsl:apply-templates select="//typedef|//uniontypedef" mode="early"/>
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk /* Function Types */
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk /* Structure Types */
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk <xsl:apply-templates select="//typedef|//uniontypedef" mode="body"/>
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk <xsl:apply-templates select="//capabilitiestypedef"/>
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk <xsl:apply-templates select="eventsection" mode="body"/>
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk /* Include file for the Java(tm) Virtual Machine Tool Interface */
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk#ifndef _JAVA_JVMTI_H_
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk#define _JAVA_JVMTI_H_
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk#ifdef __cplusplus
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk JVMTI_VERSION_1 = 0x30010000,
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk JVMTI_VERSION_1_0 = 0x30010000,
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk JVMTI_VERSION_1_1 = 0x30010100,
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk JVMTI_VERSION_1_2 = 0x30010200,
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk <xsl:value-of select="//specification/@majorversion"/>
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk <xsl:value-of select="//specification/@minorversion"/>
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenkJNIEXPORT jint JNICALL
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenkAgent_OnLoad(JavaVM *vm, char *options, void *reserved);
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenkJNIEXPORT jint JNICALL
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenkAgent_OnAttach(JavaVM* vm, char* options, void* reserved);
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenkJNIEXPORT void JNICALL
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenkAgent_OnUnload(JavaVM *vm);
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk /* Forward declaration of the environment */
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenkstruct _jvmtiEnv;
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenkstruct jvmtiInterface_1_;
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk#ifdef __cplusplus
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenktypedef _jvmtiEnv jvmtiEnv;
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenktypedef const struct jvmtiInterface_1_ *jvmtiEnv;
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk#endif /* __cplusplus */
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk#ifdef __cplusplus
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk} /* extern "C" */
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk#endif /* __cplusplus */
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk#endif /* !_JAVA_JVMTI_H_ */
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk /* Event IDs */
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenktypedef enum {
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk <xsl:text> JVMTI_MIN_EVENT_TYPE_VAL = </xsl:text>
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk <xsl:text> JVMTI_MAX_EVENT_TYPE_VAL = </xsl:text>
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk} jvmtiEvent;
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk /* Event Definitions */
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenktypedef void (JNICALL *jvmtiEventReserved)(void);
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk <xsl:apply-templates select="event" mode="definition">
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk /* Event Callback Structure */
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenktypedef struct {