src/share/vm/prims/jvmtiHpp.xsl

Sun, 15 Sep 2013 15:28:58 +0200

author
goetz
date
Sun, 15 Sep 2013 15:28:58 +0200
changeset 6470
abe03600372a
parent 2314
f95d63e2154a
child 6876
710a3c8b516e
permissions
-rw-r--r--

8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
Summary: Implement profiling for c2 jit compilation. Also enable new cppInterpreter features.
Reviewed-by: kvn

duke@435 1 <?xml version="1.0"?>
duke@435 2 <!--
stefank@2314 3 Copyright (c) 2002, 2010, 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
stefank@2314 40
stefank@2314 41 #ifndef GENERATED_JVMTIFILES_JVMTIENV_HPP
stefank@2314 42 #define GENERATED_JVMTIFILES_JVMTIENV_HPP
stefank@2314 43
stefank@2314 44 #include "prims/jvmtiEnvBase.hpp"
stefank@2314 45 #include "prims/jvmtiImpl.hpp"
stefank@2314 46
duke@435 47 enum {
duke@435 48 JVMTI_INTERNAL_CAPABILITY_COUNT = </xsl:text>
duke@435 49 <xsl:value-of select="count(//capabilityfield)"/>
duke@435 50 <xsl:text>
duke@435 51 };
duke@435 52
duke@435 53
duke@435 54 class JvmtiEnv : public JvmtiEnvBase {
duke@435 55
duke@435 56 private:
duke@435 57
dcubed@1556 58 JvmtiEnv(jint version);
duke@435 59 ~JvmtiEnv();
duke@435 60
duke@435 61 public:
duke@435 62
dcubed@1556 63 static JvmtiEnv* create_a_jvmti(jint version);
duke@435 64
duke@435 65 </xsl:text>
duke@435 66 <xsl:apply-templates select="functionsection"/>
duke@435 67 <xsl:text>
duke@435 68 };
stefank@2314 69
stefank@2314 70 #endif // GENERATED_JVMTIFILES_JVMTIENV_HPP
duke@435 71 </xsl:text>
duke@435 72 </xsl:template>
duke@435 73
duke@435 74 <xsl:template match="functionsection">
duke@435 75 <xsl:apply-templates select="category"/>
duke@435 76 </xsl:template>
duke@435 77
duke@435 78 <xsl:template match="category">
duke@435 79 <xsl:text>
duke@435 80 // </xsl:text><xsl:value-of select="@label"/><xsl:text> functions
duke@435 81 </xsl:text>
duke@435 82 <xsl:apply-templates select="function[not(contains(@impl,'unimpl'))]"/>
duke@435 83 </xsl:template>
duke@435 84
duke@435 85 <xsl:template match="function">
duke@435 86 <xsl:text> jvmtiError </xsl:text>
duke@435 87 <xsl:if test="count(@hide)=1">
duke@435 88 <xsl:value-of select="@hide"/>
duke@435 89 </xsl:if>
duke@435 90 <xsl:value-of select="@id"/>
duke@435 91 <xsl:text>(</xsl:text>
duke@435 92 <xsl:apply-templates select="parameters" mode="HotSpotSig"/>
duke@435 93 <xsl:text>);
duke@435 94 </xsl:text>
duke@435 95 </xsl:template>
duke@435 96
duke@435 97 </xsl:stylesheet>

mercurial