comparison src/share/vm/c1/c1_LIRAssembler.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 701a83c86f28
children 7eca5de9e0b6
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.
25 #ifndef SHARE_VM_C1_C1_LIRASSEMBLER_HPP 25 #ifndef SHARE_VM_C1_C1_LIRASSEMBLER_HPP
26 #define SHARE_VM_C1_C1_LIRASSEMBLER_HPP 26 #define SHARE_VM_C1_C1_LIRASSEMBLER_HPP
27 27
28 #include "c1/c1_CodeStubs.hpp" 28 #include "c1/c1_CodeStubs.hpp"
29 #include "ci/ciMethodData.hpp" 29 #include "ci/ciMethodData.hpp"
30 #include "oops/methodDataOop.hpp" 30 #include "oops/methodData.hpp"
31 #include "utilities/top.hpp" 31 #include "utilities/top.hpp"
32 32
33 class Compilation; 33 class Compilation;
34 class ScopeValue; 34 class ScopeValue;
35 class BarrierSet; 35 class BarrierSet;
81 // returns offset of icache check 81 // returns offset of icache check
82 int check_icache(); 82 int check_icache();
83 83
84 void jobject2reg(jobject o, Register reg); 84 void jobject2reg(jobject o, Register reg);
85 void jobject2reg_with_patching(Register reg, CodeEmitInfo* info); 85 void jobject2reg_with_patching(Register reg, CodeEmitInfo* info);
86
87 void metadata2reg(Metadata* o, Register reg);
88 void klass2reg_with_patching(Register reg, CodeEmitInfo* info);
86 89
87 void emit_stubs(CodeStubList* stub_list); 90 void emit_stubs(CodeStubList* stub_list);
88 91
89 // addresses 92 // addresses
90 Address as_Address(LIR_Address* addr); 93 Address as_Address(LIR_Address* addr);