comparison src/share/vm/shark/sharkType.hpp @ 3602: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 2cd5e15048e6
comparison
equal deleted inserted replaced
1:1150b544d3f1 2:a07b315ab6fa
1 /* 1 /*
2 * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1999, 2012, Oracle and/or its affiliates. All rights reserved.
3 * Copyright 2008, 2009 Red Hat, Inc. 3 * Copyright 2008, 2009 Red Hat, Inc.
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
80 return context().jniHandleBlock_type(); 80 return context().jniHandleBlock_type();
81 } 81 }
82 static const llvm::PointerType* klass_type() { 82 static const llvm::PointerType* klass_type() {
83 return context().klass_type(); 83 return context().klass_type();
84 } 84 }
85 static const llvm::PointerType* methodOop_type() { 85 static const llvm::PointerType* Method*_type() {
86 return context().methodOop_type(); 86 return context().Method*_type();
87 } 87 }
88 static const llvm::ArrayType* monitor_type() { 88 static const llvm::ArrayType* monitor_type() {
89 return context().monitor_type(); 89 return context().monitor_type();
90 } 90 }
91 static const llvm::PointerType* oop_type() { 91 static const llvm::PointerType* oop_type() {