Mercurial > hg > truffle
comparison src/share/vm/runtime/vmStructs.hpp @ 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 | 1d1603768966 |
children | 7c15faa95ce7 |
comparison
equal
deleted
inserted
replaced
6724:36d1d483d5d6 | 6725:da91efe96a93 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * | 4 * |
5 * This code is free software; you can redistribute it and/or modify it | 5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as | 6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
76 // ("offset" can not be reused because of apparent SparcWorks compiler bug | 76 // ("offset" can not be reused because of apparent SparcWorks compiler bug |
77 // in generation of initializer data) | 77 // in generation of initializer data) |
78 } VMStructEntry; | 78 } VMStructEntry; |
79 | 79 |
80 typedef struct { | 80 typedef struct { |
81 const char* typeName; // Type name (example: "methodOopDesc") | 81 const char* typeName; // Type name (example: "Method") |
82 const char* superclassName; // Superclass name, or null if none (example: "oopDesc") | 82 const char* superclassName; // Superclass name, or null if none (example: "oopDesc") |
83 int32_t isOopType; // Does this type represent an oop typedef? (i.e., "methodOop" or | 83 int32_t isOopType; // Does this type represent an oop typedef? (i.e., "Method*" or |
84 // "klassOop", but NOT "methodOopDesc") | 84 // "Klass*", but NOT "Method") |
85 int32_t isIntegerType; // Does this type represent an integer type (of arbitrary size)? | 85 int32_t isIntegerType; // Does this type represent an integer type (of arbitrary size)? |
86 int32_t isUnsigned; // If so, is it unsigned? | 86 int32_t isUnsigned; // If so, is it unsigned? |
87 uint64_t size; // Size, in bytes, of the type | 87 uint64_t size; // Size, in bytes, of the type |
88 } VMTypeEntry; | 88 } VMTypeEntry; |
89 | 89 |