Path: blob/aarch64-shenandoah-jdk8u272-b10/hotspot/src/share/vm/prims/jvmtiHpp.xsl
32285 views
<?xml version="1.0"?>1<!--2Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved.3DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.45This code is free software; you can redistribute it and/or modify it6under the terms of the GNU General Public License version 2 only, as7published by the Free Software Foundation.89This code is distributed in the hope that it will be useful, but WITHOUT10ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or11FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License12version 2 for more details (a copy is included in the LICENSE file that13accompanied this code).1415You should have received a copy of the GNU General Public License version162 along with this work; if not, write to the Free Software Foundation,17Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.1819Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA20or visit www.oracle.com if you need additional information or have any21questions.2223-->2425<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">2627<xsl:import href="jvmtiLib.xsl"/>2829<xsl:output method="text" indent="no" omit-xml-declaration="yes"/>3031<xsl:template match="/">32<xsl:apply-templates select="specification"/>33</xsl:template>3435<xsl:template match="specification">36<xsl:call-template name="includeHeader"/>37<xsl:text>383940#ifndef GENERATED_JVMTIFILES_JVMTIENV_HPP41#define GENERATED_JVMTIFILES_JVMTIENV_HPP4243#include "prims/jvmtiEnvBase.hpp"44#include "prims/jvmtiImpl.hpp"4546enum {47JVMTI_INTERNAL_CAPABILITY_COUNT = </xsl:text>48<xsl:value-of select="count(//capabilityfield)"/>49<xsl:text>50};515253class JvmtiEnv : public JvmtiEnvBase {5455private:5657JvmtiEnv(jint version);58~JvmtiEnv();5960public:6162static JvmtiEnv* create_a_jvmti(jint version);6364</xsl:text>65<xsl:apply-templates select="functionsection"/>66<xsl:text>67};6869#endif // GENERATED_JVMTIFILES_JVMTIENV_HPP70</xsl:text>71</xsl:template>7273<xsl:template match="functionsection">74<xsl:apply-templates select="category"/>75</xsl:template>7677<xsl:template match="category">78<xsl:text>79// </xsl:text><xsl:value-of select="@label"/><xsl:text> functions80</xsl:text>81<xsl:apply-templates select="function[not(contains(@impl,'unimpl'))]"/>82</xsl:template>8384<xsl:template match="function">85<xsl:text> jvmtiError </xsl:text>86<xsl:if test="count(@hide)=1">87<xsl:value-of select="@hide"/>88</xsl:if>89<xsl:value-of select="@id"/>90<xsl:text>(</xsl:text>91<xsl:apply-templates select="parameters" mode="HotSpotSig"/>92<xsl:text>);93</xsl:text>94</xsl:template>9596</xsl:stylesheet>979899