src/hotspot/share/prims/jvmtiH.xsl
changeset 50735 2f2af62dfac7
parent 47216 71c04702a3d5
child 54836 e2ed0691ae79
equal deleted inserted replaced
50734:0828a0f6676b 50735:2f2af62dfac7
     1 <?xml version="1.0" encoding="utf-8"?>
     1 <?xml version="1.0" encoding="utf-8"?>
     2 <!--
     2 <!--
     3  Copyright (c) 2002, 2016, Oracle and/or its affiliates. All rights reserved.
     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.
     4  DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     5 
     5 
     6  This code is free software; you can redistribute it and/or modify it
     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
     7  under the terms of the GNU General Public License version 2 only, as
     8  published by the Free Software Foundation.
     8  published by the Free Software Foundation.
    18  Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
    18  Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
    19 
    19 
    20  Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    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
    21  or visit www.oracle.com if you need additional information or have any
    22  questions.
    22  questions.
    23   
    23 
    24 -->
    24 -->
    25 
    25 
    26 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    26 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    27                 version="1.0">
    27                 version="1.0">
    28 
    28 
    45     <xsl:text>
    45     <xsl:text>
    46 
    46 
    47     /* Constants */
    47     /* Constants */
    48 </xsl:text>
    48 </xsl:text>
    49     <xsl:apply-templates select="//constants"/>
    49     <xsl:apply-templates select="//constants"/>
    50     
    50 
    51     <xsl:text>
    51     <xsl:text>
    52 
    52 
    53     /* Errors */
    53     /* Errors */
    54 
    54 
    55 typedef enum {
    55 typedef enum {
    89     <xsl:apply-templates select="eventsection" mode="body"/>
    89     <xsl:apply-templates select="eventsection" mode="body"/>
    90 
    90 
    91     <xsl:apply-templates select="functionsection"/>
    91     <xsl:apply-templates select="functionsection"/>
    92 
    92 
    93     <xsl:call-template name="outro"/>
    93     <xsl:call-template name="outro"/>
    94       
    94 
    95   </xsl:template>
    95   </xsl:template>
    96 
    96 
    97   <xsl:template name="intro">
    97   <xsl:template name="intro">
    98   <xsl:call-template name="include_GPL_CP_Header"/>
    98   <xsl:call-template name="include_GPL_CP_Header"/>
    99   <xsl:text>
    99   <xsl:text>
   112     JVMTI_VERSION_1   = 0x30010000,
   112     JVMTI_VERSION_1   = 0x30010000,
   113     JVMTI_VERSION_1_0 = 0x30010000,
   113     JVMTI_VERSION_1_0 = 0x30010000,
   114     JVMTI_VERSION_1_1 = 0x30010100,
   114     JVMTI_VERSION_1_1 = 0x30010100,
   115     JVMTI_VERSION_1_2 = 0x30010200,
   115     JVMTI_VERSION_1_2 = 0x30010200,
   116     JVMTI_VERSION_9   = 0x30090000,
   116     JVMTI_VERSION_9   = 0x30090000,
       
   117     JVMTI_VERSION_11  = 0x300B0000,
   117 
   118 
   118     JVMTI_VERSION = 0x30000000 + (</xsl:text>
   119     JVMTI_VERSION = 0x30000000 + (</xsl:text>
   119   <xsl:value-of select="//specification/@majorversion"/>
   120   <xsl:value-of select="//specification/@majorversion"/>
   120   <xsl:text> * 0x10000) + (</xsl:text>
   121   <xsl:text> * 0x10000) + (</xsl:text>
   121   <xsl:value-of select="//specification/@minorversion"/>
   122   <xsl:value-of select="//specification/@minorversion"/>
   296       </xsl:apply-templates>
   297       </xsl:apply-templates>
   297       <xsl:text>)</xsl:text>
   298       <xsl:text>)</xsl:text>
   298     </xsl:when>
   299     </xsl:when>
   299     <xsl:otherwise>
   300     <xsl:otherwise>
   300       <xsl:text> RESERVED */
   301       <xsl:text> RESERVED */
   301   void *reserved</xsl:text>        
   302   void *reserved</xsl:text>
   302       <xsl:value-of select="$index"/>
   303       <xsl:value-of select="$index"/>
   303     </xsl:otherwise>
   304     </xsl:otherwise>
   304   </xsl:choose>
   305   </xsl:choose>
   305   <xsl:text>;
   306   <xsl:text>;
   306 
   307