hotspot/src/share/vm/prims/jvmtiHpp.xsl
author tschatzl
Wed, 11 Sep 2013 16:25:02 +0200
changeset 19986 33d188c66ed9
parent 7397 5b173b4ca846
permissions -rw-r--r--
8010722: assert: failed: heap size is too big for compressed oops Summary: Use conservative assumptions of required alignment for the various garbage collector components into account when determining the maximum heap size that supports compressed oops. Using this conservative value avoids several circular dependencies in the calculation. Reviewed-by: stefank, dholmes
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
     1
<?xml version="1.0"?> 
489c9b5090e2 Initial load
duke
parents:
diff changeset
     2
<!--
7397
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
     3
 Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved.
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
     4
 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
489c9b5090e2 Initial load
duke
parents:
diff changeset
     5
489c9b5090e2 Initial load
duke
parents:
diff changeset
     6
 This code is free software; you can redistribute it and/or modify it
489c9b5090e2 Initial load
duke
parents:
diff changeset
     7
 under the terms of the GNU General Public License version 2 only, as
489c9b5090e2 Initial load
duke
parents:
diff changeset
     8
 published by the Free Software Foundation.
489c9b5090e2 Initial load
duke
parents:
diff changeset
     9
489c9b5090e2 Initial load
duke
parents:
diff changeset
    10
 This code is distributed in the hope that it will be useful, but WITHOUT
489c9b5090e2 Initial load
duke
parents:
diff changeset
    11
 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
489c9b5090e2 Initial load
duke
parents:
diff changeset
    12
 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
489c9b5090e2 Initial load
duke
parents:
diff changeset
    13
 version 2 for more details (a copy is included in the LICENSE file that
489c9b5090e2 Initial load
duke
parents:
diff changeset
    14
 accompanied this code).
489c9b5090e2 Initial load
duke
parents:
diff changeset
    15
489c9b5090e2 Initial load
duke
parents:
diff changeset
    16
 You should have received a copy of the GNU General Public License version
489c9b5090e2 Initial load
duke
parents:
diff changeset
    17
 2 along with this work; if not, write to the Free Software Foundation,
489c9b5090e2 Initial load
duke
parents:
diff changeset
    18
 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
489c9b5090e2 Initial load
duke
parents:
diff changeset
    19
5547
f4b087cbb361 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 4491
diff changeset
    20
 Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
f4b087cbb361 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 4491
diff changeset
    21
 or visit www.oracle.com if you need additional information or have any
f4b087cbb361 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 4491
diff changeset
    22
 questions.
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    23
  
489c9b5090e2 Initial load
duke
parents:
diff changeset
    24
-->
489c9b5090e2 Initial load
duke
parents:
diff changeset
    25
489c9b5090e2 Initial load
duke
parents:
diff changeset
    26
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
489c9b5090e2 Initial load
duke
parents:
diff changeset
    27
489c9b5090e2 Initial load
duke
parents:
diff changeset
    28
<xsl:import href="jvmtiLib.xsl"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    29
489c9b5090e2 Initial load
duke
parents:
diff changeset
    30
<xsl:output method="text" indent="no" omit-xml-declaration="yes"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    31
489c9b5090e2 Initial load
duke
parents:
diff changeset
    32
<xsl:template match="/">
489c9b5090e2 Initial load
duke
parents:
diff changeset
    33
  <xsl:apply-templates select="specification"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    34
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    35
489c9b5090e2 Initial load
duke
parents:
diff changeset
    36
<xsl:template match="specification">
489c9b5090e2 Initial load
duke
parents:
diff changeset
    37
  <xsl:call-template name="includeHeader"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    38
  <xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    39
    
7397
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
    40
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
    41
#ifndef GENERATED_JVMTIFILES_JVMTIENV_HPP
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
    42
#define GENERATED_JVMTIFILES_JVMTIENV_HPP
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
    43
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
    44
#include "prims/jvmtiEnvBase.hpp"
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
    45
#include "prims/jvmtiImpl.hpp"
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
    46
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    47
enum {
489c9b5090e2 Initial load
duke
parents:
diff changeset
    48
    JVMTI_INTERNAL_CAPABILITY_COUNT = </xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    49
  <xsl:value-of select="count(//capabilityfield)"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    50
  <xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    51
};
489c9b5090e2 Initial load
duke
parents:
diff changeset
    52
489c9b5090e2 Initial load
duke
parents:
diff changeset
    53
489c9b5090e2 Initial load
duke
parents:
diff changeset
    54
class JvmtiEnv : public JvmtiEnvBase {
489c9b5090e2 Initial load
duke
parents:
diff changeset
    55
489c9b5090e2 Initial load
duke
parents:
diff changeset
    56
private:
489c9b5090e2 Initial load
duke
parents:
diff changeset
    57
    
4491
212bd48525d4 6849968: 3/2 JVMTI tests fails on jdk5.0 with hs14
dcubed
parents: 1
diff changeset
    58
    JvmtiEnv(jint version);
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    59
    ~JvmtiEnv();
489c9b5090e2 Initial load
duke
parents:
diff changeset
    60
489c9b5090e2 Initial load
duke
parents:
diff changeset
    61
public:
489c9b5090e2 Initial load
duke
parents:
diff changeset
    62
4491
212bd48525d4 6849968: 3/2 JVMTI tests fails on jdk5.0 with hs14
dcubed
parents: 1
diff changeset
    63
    static JvmtiEnv* create_a_jvmti(jint version);
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    64
489c9b5090e2 Initial load
duke
parents:
diff changeset
    65
</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    66
  <xsl:apply-templates select="functionsection"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    67
  <xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    68
};
7397
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
    69
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
    70
#endif // GENERATED_JVMTIFILES_JVMTIENV_HPP
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    71
</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    72
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    73
489c9b5090e2 Initial load
duke
parents:
diff changeset
    74
<xsl:template match="functionsection">
489c9b5090e2 Initial load
duke
parents:
diff changeset
    75
  <xsl:apply-templates select="category"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    76
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    77
489c9b5090e2 Initial load
duke
parents:
diff changeset
    78
<xsl:template match="category">
489c9b5090e2 Initial load
duke
parents:
diff changeset
    79
  <xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    80
  // </xsl:text><xsl:value-of select="@label"/><xsl:text> functions
489c9b5090e2 Initial load
duke
parents:
diff changeset
    81
</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    82
  <xsl:apply-templates select="function[not(contains(@impl,'unimpl'))]"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    83
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    84
489c9b5090e2 Initial load
duke
parents:
diff changeset
    85
<xsl:template match="function">
489c9b5090e2 Initial load
duke
parents:
diff changeset
    86
  <xsl:text>    jvmtiError </xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    87
  <xsl:if test="count(@hide)=1">
489c9b5090e2 Initial load
duke
parents:
diff changeset
    88
    <xsl:value-of select="@hide"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    89
  </xsl:if>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    90
  <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    91
  <xsl:text>(</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    92
  <xsl:apply-templates select="parameters" mode="HotSpotSig"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    93
  <xsl:text>);
489c9b5090e2 Initial load
duke
parents:
diff changeset
    94
</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    95
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    96
489c9b5090e2 Initial load
duke
parents:
diff changeset
    97
</xsl:stylesheet>