annotate src/share/vm/prims/jvmtiHpp.xsl @ 1552:c18cbe5936b8

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