comparison src/share/vm/prims/jvmtiEnv.xsl @ 6725:da91efe96a93

6964458: Reimplement class meta-data storage to use native memory Summary: Remove PermGen, allocate meta-data in metaspace linked to class loaders, rewrite GC walking, rewrite and rename metadata to be C++ classes Reviewed-by: jmasa, stefank, never, coleenp, kvn, brutisso, mgerdin, dholmes, jrose, twisti, roland Contributed-by: jmasa <jon.masamitsu@oracle.com>, stefank <stefan.karlsson@oracle.com>, mgerdin <mikael.gerdin@oracle.com>, never <tom.rodriguez@oracle.com>
author coleenp
date Sat, 01 Sep 2012 13:25:18 -0400
parents f95d63e2154a
children
comparison
equal deleted inserted replaced
6724:36d1d483d5d6 6725:da91efe96a93
1 <?xml version="1.0"?> 1 <?xml version="1.0"?>
2 <!-- 2 <!--
3 Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved. 3 Copyright (c) 2002, 2012, 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.
72 <xsl:text> 72 <xsl:text>
73 if (java_lang_Class::is_primitive(k_mirror)) { 73 if (java_lang_Class::is_primitive(k_mirror)) {
74 // DO PRIMITIVE CLASS PROCESSING 74 // DO PRIMITIVE CLASS PROCESSING
75 return JVMTI_ERROR_MUST_POSSESS_CAPABILITY; 75 return JVMTI_ERROR_MUST_POSSESS_CAPABILITY;
76 } 76 }
77 klassOop k_oop = java_lang_Class::as_klassOop(k_mirror); 77 Klass* k_oop = java_lang_Class::as_Klass(k_mirror);
78 if (k_oop == NULL) { 78 if (k_oop == NULL) {
79 return JVMTI_ERROR_INVALID_CLASS; 79 return JVMTI_ERROR_INVALID_CLASS;
80 }</xsl:text> 80 }</xsl:text>
81 </xsl:if> 81 </xsl:if>
82 </xsl:for-each> 82 </xsl:for-each>