< prev index next >

src/hotspot/share/prims/jvmtiH.xsl

Print this page


   1 <?xml version="1.0" encoding="utf-8"?>
   2 <!--
   3  Copyright (c) 2002, 2016, Oracle and/or its affiliates. All rights reserved.
   4  DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   5 
   6  This code is free software; you can redistribute it and/or modify it
   7  under the terms of the GNU General Public License version 2 only, as
   8  published by the Free Software Foundation.
   9 
  10  This code is distributed in the hope that it will be useful, but WITHOUT
  11  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  12  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  13  version 2 for more details (a copy is included in the LICENSE file that
  14  accompanied this code).
  15 
  16  You should have received a copy of the GNU General Public License version
  17  2 along with this work; if not, write to the Free Software Foundation,
  18  Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  19 
  20  Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  21  or visit www.oracle.com if you need additional information or have any
  22  questions.
  23   


  97   <xsl:template name="intro">
  98   <xsl:call-template name="include_GPL_CP_Header"/>
  99   <xsl:text>
 100     /* Include file for the Java(tm) Virtual Machine Tool Interface */
 101 
 102 #ifndef _JAVA_JVMTI_H_
 103 #define _JAVA_JVMTI_H_
 104 
 105 #include "jni.h"
 106 
 107 #ifdef __cplusplus
 108 extern "C" {
 109 #endif
 110 
 111 enum {
 112     JVMTI_VERSION_1   = 0x30010000,
 113     JVMTI_VERSION_1_0 = 0x30010000,
 114     JVMTI_VERSION_1_1 = 0x30010100,
 115     JVMTI_VERSION_1_2 = 0x30010200,
 116     JVMTI_VERSION_9   = 0x30090000,

 117 
 118     JVMTI_VERSION = 0x30000000 + (</xsl:text>
 119   <xsl:value-of select="//specification/@majorversion"/>
 120   <xsl:text> * 0x10000) + (</xsl:text>
 121   <xsl:value-of select="//specification/@minorversion"/>
 122   <xsl:text> * 0x100)</xsl:text>
 123   <xsl:variable name="micro">
 124     <xsl:call-template name="microversion"/>
 125   </xsl:variable>
 126   <xsl:choose>
 127     <xsl:when test="string($micro)='dev'">
 128       <xsl:text>  /* checked out - </xsl:text>
 129     </xsl:when>
 130     <xsl:otherwise>
 131       <xsl:text> + </xsl:text>
 132       <xsl:value-of select="$micro"/>
 133       <xsl:text>  /* </xsl:text>
 134     </xsl:otherwise>
 135   </xsl:choose>
 136   <xsl:text>version: </xsl:text>


   1 <?xml version="1.0" encoding="utf-8"?>
   2 <!--
   3  Copyright (c) 2002, 2018, Oracle and/or its affiliates. All rights reserved.
   4  DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   5 
   6  This code is free software; you can redistribute it and/or modify it
   7  under the terms of the GNU General Public License version 2 only, as
   8  published by the Free Software Foundation.
   9 
  10  This code is distributed in the hope that it will be useful, but WITHOUT
  11  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  12  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  13  version 2 for more details (a copy is included in the LICENSE file that
  14  accompanied this code).
  15 
  16  You should have received a copy of the GNU General Public License version
  17  2 along with this work; if not, write to the Free Software Foundation,
  18  Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  19 
  20  Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  21  or visit www.oracle.com if you need additional information or have any
  22  questions.
  23 


  97   <xsl:template name="intro">
  98   <xsl:call-template name="include_GPL_CP_Header"/>
  99   <xsl:text>
 100     /* Include file for the Java(tm) Virtual Machine Tool Interface */
 101 
 102 #ifndef _JAVA_JVMTI_H_
 103 #define _JAVA_JVMTI_H_
 104 
 105 #include "jni.h"
 106 
 107 #ifdef __cplusplus
 108 extern "C" {
 109 #endif
 110 
 111 enum {
 112     JVMTI_VERSION_1   = 0x30010000,
 113     JVMTI_VERSION_1_0 = 0x30010000,
 114     JVMTI_VERSION_1_1 = 0x30010100,
 115     JVMTI_VERSION_1_2 = 0x30010200,
 116     JVMTI_VERSION_9   = 0x30090000,
 117     JVMTI_VERSION_11  = 0x300B0000,
 118 
 119     JVMTI_VERSION = 0x30000000 + (</xsl:text>
 120   <xsl:value-of select="//specification/@majorversion"/>
 121   <xsl:text> * 0x10000) + (</xsl:text>
 122   <xsl:value-of select="//specification/@minorversion"/>
 123   <xsl:text> * 0x100)</xsl:text>
 124   <xsl:variable name="micro">
 125     <xsl:call-template name="microversion"/>
 126   </xsl:variable>
 127   <xsl:choose>
 128     <xsl:when test="string($micro)='dev'">
 129       <xsl:text>  /* checked out - </xsl:text>
 130     </xsl:when>
 131     <xsl:otherwise>
 132       <xsl:text> + </xsl:text>
 133       <xsl:value-of select="$micro"/>
 134       <xsl:text>  /* </xsl:text>
 135     </xsl:otherwise>
 136   </xsl:choose>
 137   <xsl:text>version: </xsl:text>


< prev index next >