src/share/vm/prims/jvmtiEnter.xsl

Print this page


   1 <?xml version="1.0"?> 
   2 <!--
   3  Copyright (c) 2002, 2006, Oracle and/or its affiliates. All rights reserved.
   4  DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   5 
   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
   8  published by the Free Software Foundation.
   9 
  10  This code is distributed in the hope that it will be useful, but WITHOUT
  11  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  12  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  13  version 2 for more details (a copy is included in the LICENSE file that
  14  accompanied this code).
  15 
  16  You should have received a copy of the GNU General Public License version
  17  2 along with this work; if not, write to the Free Software Foundation,
  18  Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  19 
  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
  22  questions.
  23   
  24 -->
  25 
  26 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  27 
  28 <xsl:import href="jvmtiLib.xsl"/>
  29 
  30 <xsl:output method="text" indent="no" omit-xml-declaration="yes"/>
  31 
  32 <xsl:param name="trace"></xsl:param>
  33 <xsl:param name="interface"></xsl:param>
  34 
  35 
  36 <xsl:template match="specification">
  37   <xsl:call-template name="sourceHeader"/>
  38   <xsl:text>
  39 # include "incls/_precompiled.incl"
  40 # include "incls/_jvmtiEnter.cpp.incl"


  41 
  42 </xsl:text>
  43 
  44   <xsl:if test="$trace = 'Trace'">
  45    <xsl:text>
  46 #ifdef JVMTI_TRACE
  47 </xsl:text>
  48   </xsl:if>
  49 
  50  <xsl:if test="$trace != 'Trace'">
  51     <xsl:text>
  52 
  53 // Error names
  54 const char* JvmtiUtil::_error_names[] = {
  55 </xsl:text>
  56     <xsl:call-template name="fillEntityName"> 
  57       <xsl:with-param name="entities" select="errorsection/errorcategory/errorid"/>
  58     </xsl:call-template>
  59     <xsl:text>
  60 };


   1 <?xml version="1.0"?> 
   2 <!--
   3  Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved.
   4  DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   5 
   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
   8  published by the Free Software Foundation.
   9 
  10  This code is distributed in the hope that it will be useful, but WITHOUT
  11  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  12  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  13  version 2 for more details (a copy is included in the LICENSE file that
  14  accompanied this code).
  15 
  16  You should have received a copy of the GNU General Public License version
  17  2 along with this work; if not, write to the Free Software Foundation,
  18  Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  19 
  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
  22  questions.
  23   
  24 -->
  25 
  26 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  27 
  28 <xsl:import href="jvmtiLib.xsl"/>
  29 
  30 <xsl:output method="text" indent="no" omit-xml-declaration="yes"/>
  31 
  32 <xsl:param name="trace"></xsl:param>
  33 <xsl:param name="interface"></xsl:param>
  34 
  35 
  36 <xsl:template match="specification">
  37   <xsl:call-template name="sourceHeader"/>
  38   <xsl:text>
  39 # include "precompiled.hpp"
  40 # include "prims/jvmtiEnter.hpp"
  41 # include "prims/jvmtiRawMonitor.hpp"
  42 # include "prims/jvmtiUtil.hpp"
  43 
  44 </xsl:text>
  45 
  46   <xsl:if test="$trace = 'Trace'">
  47    <xsl:text>
  48 #ifdef JVMTI_TRACE
  49 </xsl:text>
  50   </xsl:if>
  51 
  52  <xsl:if test="$trace != 'Trace'">
  53     <xsl:text>
  54 
  55 // Error names
  56 const char* JvmtiUtil::_error_names[] = {
  57 </xsl:text>
  58     <xsl:call-template name="fillEntityName"> 
  59       <xsl:with-param name="entities" select="errorsection/errorcategory/errorid"/>
  60     </xsl:call-template>
  61     <xsl:text>
  62 };