Mercurial > hg > truffle
comparison src/cpu/zero/vm/sharkFrame_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 | f95d63e2154a |
children | c566b81b3323 |
comparison
equal
deleted
inserted
replaced
6724:36d1d483d5d6 | 6725:da91efe96a93 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2003, 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 |
24 */ | 24 */ |
25 | 25 |
26 #ifndef CPU_ZERO_VM_SHARKFRAME_ZERO_HPP | 26 #ifndef CPU_ZERO_VM_SHARKFRAME_ZERO_HPP |
27 #define CPU_ZERO_VM_SHARKFRAME_ZERO_HPP | 27 #define CPU_ZERO_VM_SHARKFRAME_ZERO_HPP |
28 | 28 |
29 #include "oops/methodOop.hpp" | 29 #include "oops/method.hpp" |
30 #include "stack_zero.hpp" | 30 #include "stack_zero.hpp" |
31 | 31 |
32 // | ... | | 32 // | ... | |
33 // +--------------------+ ------------------ | 33 // +--------------------+ ------------------ |
34 // | stack slot n-1 | low addresses | 34 // | stack slot n-1 | low addresses |
70 | 70 |
71 intptr_t* unextended_sp() const { | 71 intptr_t* unextended_sp() const { |
72 return (intptr_t *) value_of_word(unextended_sp_off); | 72 return (intptr_t *) value_of_word(unextended_sp_off); |
73 } | 73 } |
74 | 74 |
75 methodOop method() const { | 75 Method* method() const { |
76 return (methodOop) value_of_word(method_off); | 76 return (Method*) value_of_word(method_off); |
77 } | 77 } |
78 | 78 |
79 public: | 79 public: |
80 void identify_word(int frame_index, | 80 void identify_word(int frame_index, |
81 int offset, | 81 int offset, |