src/share/vm/prims/jvmtiEnter.xsl
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
hotspot-npg Cdiff src/share/vm/prims/jvmtiEnter.xsl
src/share/vm/prims/jvmtiEnter.xsl
Print this page
*** 1,8 ****
<?xml version="1.0"?>
<!--
! Copyright (c) 2002, 2012, Oracle and/or its affiliates. All rights reserved.
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
This code is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License version 2 only, as
published by the Free Software Foundation.
--- 1,8 ----
<?xml version="1.0"?>
<!--
! Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved.
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
This code is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License version 2 only, as
published by the Free Software Foundation.
*** 35,44 ****
--- 35,46 ----
<xsl:template match="specification">
<xsl:call-template name="sourceHeader"/>
<xsl:text>
# include "precompiled.hpp"
+ # include "utilities/macros.hpp"
+ #if INCLUDE_JVMTI
# include "prims/jvmtiEnter.hpp"
# include "prims/jvmtiRawMonitor.hpp"
# include "prims/jvmtiUtil.hpp"
</xsl:text>
*** 245,254 ****
--- 247,257 ----
<xsl:with-param name="funcs" select="category/function[count(@hide)=0]"/>
</xsl:call-template>
<xsl:text>
};
+ #endif // INCLUDE_JVMTI
</xsl:text>
</xsl:template>
<xsl:template match="function" mode="functionid">
<xsl:text>jvmti</xsl:text>
*** 467,477 ****
<xsl:apply-templates select="parameters" mode="signature"/>
<xsl:text>) {
</xsl:text>
<xsl:if test="not(contains(@jkernel,'yes'))">
! <xsl:text>
#ifdef JVMTI_KERNEL 
</xsl:text>
<xsl:text> return JVMTI_ERROR_NOT_AVAILABLE; 
</xsl:text>
<xsl:text>#else 
</xsl:text>
</xsl:if>
<xsl:apply-templates select="." mode="traceSetUp"/>
--- 470,480 ----
<xsl:apply-templates select="parameters" mode="signature"/>
<xsl:text>) {
</xsl:text>
<xsl:if test="not(contains(@jkernel,'yes'))">
! <xsl:text>
#if !INCLUDE_JVMTI 
</xsl:text>
<xsl:text> return JVMTI_ERROR_NOT_AVAILABLE; 
</xsl:text>
<xsl:text>#else 
</xsl:text>
</xsl:if>
<xsl:apply-templates select="." mode="traceSetUp"/>
*** 594,604 ****
</xsl:choose>
<xsl:text> return err;
</xsl:text>
<xsl:if test="not(contains(@jkernel,'yes'))">
! <xsl:text>#endif // JVMTI_KERNEL
</xsl:text>
</xsl:if>
<xsl:text>}
</xsl:text>
</xsl:template>
--- 597,607 ----
</xsl:choose>
<xsl:text> return err;
</xsl:text>
<xsl:if test="not(contains(@jkernel,'yes'))">
! <xsl:text>#endif // INCLUDE_JVMTI
</xsl:text>
</xsl:if>
<xsl:text>}
</xsl:text>
</xsl:template>
src/share/vm/prims/jvmtiEnter.xsl
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File