1 /* |
1 /* |
2 * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2011, 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. |
45 |
45 |
46 // A vframeArrayElement is an element of a vframeArray. Each element |
46 // A vframeArrayElement is an element of a vframeArray. Each element |
47 // represent an interpreter frame which will eventually be created. |
47 // represent an interpreter frame which will eventually be created. |
48 |
48 |
49 class vframeArrayElement : public _ValueObj { |
49 class vframeArrayElement : public _ValueObj { |
|
50 friend class VMStructs; |
|
51 |
50 private: |
52 private: |
51 |
53 |
52 frame _frame; // the interpreter frame we will unpack into |
54 frame _frame; // the interpreter frame we will unpack into |
53 int _bci; // raw bci for this vframe |
55 int _bci; // raw bci for this vframe |
54 bool _reexecute; // whether sould we reexecute this bytecode |
56 bool _reexecute; // whether sould we reexecute this bytecode |
105 // this can be a ResourceObj if we don't save the last one... |
107 // this can be a ResourceObj if we don't save the last one... |
106 // but it does make debugging easier even if we can't look |
108 // but it does make debugging easier even if we can't look |
107 // at the data in each vframeElement |
109 // at the data in each vframeElement |
108 |
110 |
109 class vframeArray: public CHeapObj { |
111 class vframeArray: public CHeapObj { |
|
112 friend class VMStructs; |
|
113 |
110 private: |
114 private: |
111 |
115 |
112 |
116 |
113 // Here is what a vframeArray looks like in memory |
117 // Here is what a vframeArray looks like in memory |
114 |
118 |