Mercurial > hg > truffle
comparison src/cpu/zero/vm/bytecodeInterpreter_zero.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 | 4b95bbb36464 |
children | 018b357638aa |
comparison
equal
deleted
inserted
replaced
6724:36d1d483d5d6 | 6725:da91efe96a93 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2002, 2012, Oracle and/or its affiliates. All rights reserved. |
3 * Copyright 2007, 2008, 2011 Red Hat, Inc. | 3 * Copyright 2007, 2008, 2011 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 |
39 | 39 |
40 public: | 40 public: |
41 inline void set_locals(intptr_t* new_locals) { | 41 inline void set_locals(intptr_t* new_locals) { |
42 _locals = new_locals; | 42 _locals = new_locals; |
43 } | 43 } |
44 inline void set_method(methodOop new_method) { | 44 inline void set_method(Method* new_method) { |
45 _method = new_method; | 45 _method = new_method; |
46 } | 46 } |
47 inline interpreterState self_link() { | 47 inline interpreterState self_link() { |
48 return _self_link; | 48 return _self_link; |
49 } | 49 } |
66 _monitor_base = new_monitor_base; | 66 _monitor_base = new_monitor_base; |
67 } | 67 } |
68 inline void set_thread(JavaThread* new_thread) { | 68 inline void set_thread(JavaThread* new_thread) { |
69 _thread = new_thread; | 69 _thread = new_thread; |
70 } | 70 } |
71 inline void set_constants(constantPoolCacheOop new_constants) { | 71 inline void set_constants(ConstantPoolCache* new_constants) { |
72 _constants = new_constants; | 72 _constants = new_constants; |
73 } | 73 } |
74 inline oop oop_temp() { | 74 inline oop oop_temp() { |
75 return _oop_temp; | 75 return _oop_temp; |
76 } | 76 } |