src/share/vm/prims/jvmtiHpp.xsl

Thu, 27 May 2010 19:08:38 -0700

author
trims
date
Thu, 27 May 2010 19:08:38 -0700
changeset 1907
c18cbe5936b8
parent 1556
98cd9901c161
child 2314
f95d63e2154a
permissions
-rw-r--r--

6941466: Oracle rebranding changes for Hotspot repositories
Summary: Change all the Sun copyrights to Oracle copyright
Reviewed-by: ohair

duke@435 1 <?xml version="1.0"?>
duke@435 2 <!--
trims@1907 3 Copyright (c) 2002, 2009, Oracle and/or its affiliates. All rights reserved.
duke@435 4 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
duke@435 5
duke@435 6 This code is free software; you can redistribute it and/or modify it
duke@435 7 under the terms of the GNU General Public License version 2 only, as
duke@435 8 published by the Free Software Foundation.
duke@435 9
duke@435 10 This code is distributed in the hope that it will be useful, but WITHOUT
duke@435 11 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
duke@435 12 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
duke@435 13 version 2 for more details (a copy is included in the LICENSE file that
duke@435 14 accompanied this code).
duke@435 15
duke@435 16 You should have received a copy of the GNU General Public License version
duke@435 17 2 along with this work; if not, write to the Free Software Foundation,
duke@435 18 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
duke@435 19
trims@1907 20 Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
trims@1907 21 or visit www.oracle.com if you need additional information or have any
trims@1907 22 questions.
duke@435 23
duke@435 24 -->
duke@435 25
duke@435 26 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
duke@435 27
duke@435 28 <xsl:import href="jvmtiLib.xsl"/>
duke@435 29
duke@435 30 <xsl:output method="text" indent="no" omit-xml-declaration="yes"/>
duke@435 31
duke@435 32 <xsl:template match="/">
duke@435 33 <xsl:apply-templates select="specification"/>
duke@435 34 </xsl:template>
duke@435 35
duke@435 36 <xsl:template match="specification">
duke@435 37 <xsl:call-template name="includeHeader"/>
duke@435 38 <xsl:text>
duke@435 39
duke@435 40 enum {
duke@435 41 JVMTI_INTERNAL_CAPABILITY_COUNT = </xsl:text>
duke@435 42 <xsl:value-of select="count(//capabilityfield)"/>
duke@435 43 <xsl:text>
duke@435 44 };
duke@435 45
duke@435 46
duke@435 47 class JvmtiEnv : public JvmtiEnvBase {
duke@435 48
duke@435 49 private:
duke@435 50
dcubed@1556 51 JvmtiEnv(jint version);
duke@435 52 ~JvmtiEnv();
duke@435 53
duke@435 54 public:
duke@435 55
dcubed@1556 56 static JvmtiEnv* create_a_jvmti(jint version);
duke@435 57
duke@435 58 </xsl:text>
duke@435 59 <xsl:apply-templates select="functionsection"/>
duke@435 60 <xsl:text>
duke@435 61 };
duke@435 62 </xsl:text>
duke@435 63 </xsl:template>
duke@435 64
duke@435 65 <xsl:template match="functionsection">
duke@435 66 <xsl:apply-templates select="category"/>
duke@435 67 </xsl:template>
duke@435 68
duke@435 69 <xsl:template match="category">
duke@435 70 <xsl:text>
duke@435 71 // </xsl:text><xsl:value-of select="@label"/><xsl:text> functions
duke@435 72 </xsl:text>
duke@435 73 <xsl:apply-templates select="function[not(contains(@impl,'unimpl'))]"/>
duke@435 74 </xsl:template>
duke@435 75
duke@435 76 <xsl:template match="function">
duke@435 77 <xsl:text> jvmtiError </xsl:text>
duke@435 78 <xsl:if test="count(@hide)=1">
duke@435 79 <xsl:value-of select="@hide"/>
duke@435 80 </xsl:if>
duke@435 81 <xsl:value-of select="@id"/>
duke@435 82 <xsl:text>(</xsl:text>
duke@435 83 <xsl:apply-templates select="parameters" mode="HotSpotSig"/>
duke@435 84 <xsl:text>);
duke@435 85 </xsl:text>
duke@435 86 </xsl:template>
duke@435 87
duke@435 88 </xsl:stylesheet>

mercurial