Mercurial > hg > graal-jvmci-8
comparison src/share/vm/prims/jvmtiEnter.xsl @ 6854:fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
Summary: Change makefiles so that targets and parameters can be overridden by alternate makefiles.
Reviewed-by: dholmes, coleenp
author | jprovino |
---|---|
date | Wed, 10 Oct 2012 14:35:58 -0400 |
parents | da91efe96a93 |
children | 3c9db54c2660 |
comparison
equal
deleted
inserted
replaced
6830:81e878c53615 | 6854:fb19af007ffc |
---|---|
1 <?xml version="1.0"?> | 1 <?xml version="1.0"?> |
2 <!-- | 2 <!-- |
3 Copyright (c) 2002, 2012, Oracle and/or its affiliates. All rights reserved. | 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. | 4 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
5 | 5 |
6 This code is free software; you can redistribute it and/or modify it | 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 | 7 under the terms of the GNU General Public License version 2 only, as |
8 published by the Free Software Foundation. | 8 published by the Free Software Foundation. |
35 | 35 |
36 <xsl:template match="specification"> | 36 <xsl:template match="specification"> |
37 <xsl:call-template name="sourceHeader"/> | 37 <xsl:call-template name="sourceHeader"/> |
38 <xsl:text> | 38 <xsl:text> |
39 # include "precompiled.hpp" | 39 # include "precompiled.hpp" |
40 # include "utilities/macros.hpp" | |
41 #if INCLUDE_JVMTI | |
40 # include "prims/jvmtiEnter.hpp" | 42 # include "prims/jvmtiEnter.hpp" |
41 # include "prims/jvmtiRawMonitor.hpp" | 43 # include "prims/jvmtiRawMonitor.hpp" |
42 # include "prims/jvmtiUtil.hpp" | 44 # include "prims/jvmtiUtil.hpp" |
43 | 45 |
44 </xsl:text> | 46 </xsl:text> |
245 <xsl:with-param name="funcs" select="category/function[count(@hide)=0]"/> | 247 <xsl:with-param name="funcs" select="category/function[count(@hide)=0]"/> |
246 </xsl:call-template> | 248 </xsl:call-template> |
247 | 249 |
248 <xsl:text> | 250 <xsl:text> |
249 }; | 251 }; |
252 #endif // INCLUDE_JVMTI | |
250 </xsl:text> | 253 </xsl:text> |
251 </xsl:template> | 254 </xsl:template> |
252 | 255 |
253 <xsl:template match="function" mode="functionid"> | 256 <xsl:template match="function" mode="functionid"> |
254 <xsl:text>jvmti</xsl:text> | 257 <xsl:text>jvmti</xsl:text> |
467 <xsl:apply-templates select="parameters" mode="signature"/> | 470 <xsl:apply-templates select="parameters" mode="signature"/> |
468 <xsl:text>) { | 471 <xsl:text>) { |
469 </xsl:text> | 472 </xsl:text> |
470 | 473 |
471 <xsl:if test="not(contains(@jkernel,'yes'))"> | 474 <xsl:if test="not(contains(@jkernel,'yes'))"> |
472 <xsl:text>
#ifdef JVMTI_KERNEL 
</xsl:text> | 475 <xsl:text>
#if !INCLUDE_JVMTI 
</xsl:text> |
473 <xsl:text> return JVMTI_ERROR_NOT_AVAILABLE; 
</xsl:text> | 476 <xsl:text> return JVMTI_ERROR_NOT_AVAILABLE; 
</xsl:text> |
474 <xsl:text>#else 
</xsl:text> | 477 <xsl:text>#else 
</xsl:text> |
475 </xsl:if> | 478 </xsl:if> |
476 | 479 |
477 <xsl:apply-templates select="." mode="traceSetUp"/> | 480 <xsl:apply-templates select="." mode="traceSetUp"/> |
594 </xsl:choose> | 597 </xsl:choose> |
595 <xsl:text> return err; | 598 <xsl:text> return err; |
596 </xsl:text> | 599 </xsl:text> |
597 | 600 |
598 <xsl:if test="not(contains(@jkernel,'yes'))"> | 601 <xsl:if test="not(contains(@jkernel,'yes'))"> |
599 <xsl:text>#endif // JVMTI_KERNEL
</xsl:text> | 602 <xsl:text>#endif // INCLUDE_JVMTI
</xsl:text> |
600 </xsl:if> | 603 </xsl:if> |
601 | 604 |
602 <xsl:text>}
</xsl:text> | 605 <xsl:text>}
</xsl:text> |
603 </xsl:template> | 606 </xsl:template> |
604 | 607 |