annotate agent/src/share/classes/sun/jvm/hotspot/code/CodeBlob.java @ 0:a61af66fc99e jdk7-b24

Initial load
author duke
date Sat, 01 Dec 2007 00:00:00 +0000
parents
children c18cbe5936b8 1a5913bf5e19
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a61af66fc99e Initial load
duke
parents:
diff changeset
1 /*
a61af66fc99e Initial load
duke
parents:
diff changeset
2 * Copyright 2000-2005 Sun Microsystems, Inc. All Rights Reserved.
a61af66fc99e Initial load
duke
parents:
diff changeset
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
a61af66fc99e Initial load
duke
parents:
diff changeset
4 *
a61af66fc99e Initial load
duke
parents:
diff changeset
5 * This code is free software; you can redistribute it and/or modify it
a61af66fc99e Initial load
duke
parents:
diff changeset
6 * under the terms of the GNU General Public License version 2 only, as
a61af66fc99e Initial load
duke
parents:
diff changeset
7 * published by the Free Software Foundation.
a61af66fc99e Initial load
duke
parents:
diff changeset
8 *
a61af66fc99e Initial load
duke
parents:
diff changeset
9 * This code is distributed in the hope that it will be useful, but WITHOUT
a61af66fc99e Initial load
duke
parents:
diff changeset
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
a61af66fc99e Initial load
duke
parents:
diff changeset
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
a61af66fc99e Initial load
duke
parents:
diff changeset
12 * version 2 for more details (a copy is included in the LICENSE file that
a61af66fc99e Initial load
duke
parents:
diff changeset
13 * accompanied this code).
a61af66fc99e Initial load
duke
parents:
diff changeset
14 *
a61af66fc99e Initial load
duke
parents:
diff changeset
15 * You should have received a copy of the GNU General Public License version
a61af66fc99e Initial load
duke
parents:
diff changeset
16 * 2 along with this work; if not, write to the Free Software Foundation,
a61af66fc99e Initial load
duke
parents:
diff changeset
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
a61af66fc99e Initial load
duke
parents:
diff changeset
18 *
a61af66fc99e Initial load
duke
parents:
diff changeset
19 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
a61af66fc99e Initial load
duke
parents:
diff changeset
20 * CA 95054 USA or visit www.sun.com if you need additional information or
a61af66fc99e Initial load
duke
parents:
diff changeset
21 * have any questions.
a61af66fc99e Initial load
duke
parents:
diff changeset
22 *
a61af66fc99e Initial load
duke
parents:
diff changeset
23 */
a61af66fc99e Initial load
duke
parents:
diff changeset
24
a61af66fc99e Initial load
duke
parents:
diff changeset
25 package sun.jvm.hotspot.code;
a61af66fc99e Initial load
duke
parents:
diff changeset
26
a61af66fc99e Initial load
duke
parents:
diff changeset
27 import java.io.*;
a61af66fc99e Initial load
duke
parents:
diff changeset
28 import java.util.*;
a61af66fc99e Initial load
duke
parents:
diff changeset
29
a61af66fc99e Initial load
duke
parents:
diff changeset
30 import sun.jvm.hotspot.asm.x86.*;
a61af66fc99e Initial load
duke
parents:
diff changeset
31 import sun.jvm.hotspot.compiler.*;
a61af66fc99e Initial load
duke
parents:
diff changeset
32 import sun.jvm.hotspot.debugger.*;
a61af66fc99e Initial load
duke
parents:
diff changeset
33 import sun.jvm.hotspot.runtime.*;
a61af66fc99e Initial load
duke
parents:
diff changeset
34 import sun.jvm.hotspot.types.*;
a61af66fc99e Initial load
duke
parents:
diff changeset
35 import sun.jvm.hotspot.utilities.*;
a61af66fc99e Initial load
duke
parents:
diff changeset
36
a61af66fc99e Initial load
duke
parents:
diff changeset
37 public class CodeBlob extends VMObject {
a61af66fc99e Initial load
duke
parents:
diff changeset
38 private static AddressField nameField;
a61af66fc99e Initial load
duke
parents:
diff changeset
39 private static CIntegerField sizeField;
a61af66fc99e Initial load
duke
parents:
diff changeset
40 private static CIntegerField headerSizeField;
a61af66fc99e Initial load
duke
parents:
diff changeset
41 private static CIntegerField relocationSizeField;
a61af66fc99e Initial load
duke
parents:
diff changeset
42 private static CIntegerField instructionsOffsetField;
a61af66fc99e Initial load
duke
parents:
diff changeset
43 private static CIntegerField frameCompleteOffsetField;
a61af66fc99e Initial load
duke
parents:
diff changeset
44 private static CIntegerField dataOffsetField;
a61af66fc99e Initial load
duke
parents:
diff changeset
45 private static CIntegerField oopsOffsetField;
a61af66fc99e Initial load
duke
parents:
diff changeset
46 private static CIntegerField oopsLengthField;
a61af66fc99e Initial load
duke
parents:
diff changeset
47 private static CIntegerField frameSizeField;
a61af66fc99e Initial load
duke
parents:
diff changeset
48 private static AddressField oopMapsField;
a61af66fc99e Initial load
duke
parents:
diff changeset
49
a61af66fc99e Initial load
duke
parents:
diff changeset
50 // Only used by server compiler on x86; computed over in SA rather
a61af66fc99e Initial load
duke
parents:
diff changeset
51 // than relying on computation in target VM
a61af66fc99e Initial load
duke
parents:
diff changeset
52 private static final int NOT_YET_COMPUTED = -2;
a61af66fc99e Initial load
duke
parents:
diff changeset
53 private static final int UNDEFINED = -1;
a61af66fc99e Initial load
duke
parents:
diff changeset
54 private int linkOffset = NOT_YET_COMPUTED;
a61af66fc99e Initial load
duke
parents:
diff changeset
55 private static int matcherInterpreterFramePointerReg;
a61af66fc99e Initial load
duke
parents:
diff changeset
56
a61af66fc99e Initial load
duke
parents:
diff changeset
57 static {
a61af66fc99e Initial load
duke
parents:
diff changeset
58 VM.registerVMInitializedObserver(new Observer() {
a61af66fc99e Initial load
duke
parents:
diff changeset
59 public void update(Observable o, Object data) {
a61af66fc99e Initial load
duke
parents:
diff changeset
60 initialize(VM.getVM().getTypeDataBase());
a61af66fc99e Initial load
duke
parents:
diff changeset
61 }
a61af66fc99e Initial load
duke
parents:
diff changeset
62 });
a61af66fc99e Initial load
duke
parents:
diff changeset
63 }
a61af66fc99e Initial load
duke
parents:
diff changeset
64
a61af66fc99e Initial load
duke
parents:
diff changeset
65 private static void initialize(TypeDataBase db) {
a61af66fc99e Initial load
duke
parents:
diff changeset
66 Type type = db.lookupType("CodeBlob");
a61af66fc99e Initial load
duke
parents:
diff changeset
67
a61af66fc99e Initial load
duke
parents:
diff changeset
68 nameField = type.getAddressField("_name");
a61af66fc99e Initial load
duke
parents:
diff changeset
69 sizeField = type.getCIntegerField("_size");
a61af66fc99e Initial load
duke
parents:
diff changeset
70 headerSizeField = type.getCIntegerField("_header_size");
a61af66fc99e Initial load
duke
parents:
diff changeset
71 relocationSizeField = type.getCIntegerField("_relocation_size");
a61af66fc99e Initial load
duke
parents:
diff changeset
72 frameCompleteOffsetField = type.getCIntegerField("_frame_complete_offset");
a61af66fc99e Initial load
duke
parents:
diff changeset
73 instructionsOffsetField = type.getCIntegerField("_instructions_offset");
a61af66fc99e Initial load
duke
parents:
diff changeset
74 dataOffsetField = type.getCIntegerField("_data_offset");
a61af66fc99e Initial load
duke
parents:
diff changeset
75 oopsOffsetField = type.getCIntegerField("_oops_offset");
a61af66fc99e Initial load
duke
parents:
diff changeset
76 oopsLengthField = type.getCIntegerField("_oops_length");
a61af66fc99e Initial load
duke
parents:
diff changeset
77 frameSizeField = type.getCIntegerField("_frame_size");
a61af66fc99e Initial load
duke
parents:
diff changeset
78 oopMapsField = type.getAddressField("_oop_maps");
a61af66fc99e Initial load
duke
parents:
diff changeset
79
a61af66fc99e Initial load
duke
parents:
diff changeset
80 if (VM.getVM().isServerCompiler()) {
a61af66fc99e Initial load
duke
parents:
diff changeset
81 matcherInterpreterFramePointerReg =
a61af66fc99e Initial load
duke
parents:
diff changeset
82 db.lookupIntConstant("Matcher::interpreter_frame_pointer_reg").intValue();
a61af66fc99e Initial load
duke
parents:
diff changeset
83 }
a61af66fc99e Initial load
duke
parents:
diff changeset
84 }
a61af66fc99e Initial load
duke
parents:
diff changeset
85
a61af66fc99e Initial load
duke
parents:
diff changeset
86 public CodeBlob(Address addr) {
a61af66fc99e Initial load
duke
parents:
diff changeset
87 super(addr);
a61af66fc99e Initial load
duke
parents:
diff changeset
88 }
a61af66fc99e Initial load
duke
parents:
diff changeset
89
a61af66fc99e Initial load
duke
parents:
diff changeset
90 // Typing
a61af66fc99e Initial load
duke
parents:
diff changeset
91 public boolean isBufferBlob() { return false; }
a61af66fc99e Initial load
duke
parents:
diff changeset
92 public boolean isNMethod() { return false; }
a61af66fc99e Initial load
duke
parents:
diff changeset
93 public boolean isRuntimeStub() { return false; }
a61af66fc99e Initial load
duke
parents:
diff changeset
94 public boolean isDeoptimizationStub() { return false; }
a61af66fc99e Initial load
duke
parents:
diff changeset
95 public boolean isUncommonTrapStub() { return false; }
a61af66fc99e Initial load
duke
parents:
diff changeset
96 public boolean isExceptionStub() { return false; }
a61af66fc99e Initial load
duke
parents:
diff changeset
97 public boolean isSafepointStub() { return false; }
a61af66fc99e Initial load
duke
parents:
diff changeset
98
a61af66fc99e Initial load
duke
parents:
diff changeset
99 // Fine grain nmethod support: isNmethod() == isJavaMethod() || isNativeMethod() || isOSRMethod()
a61af66fc99e Initial load
duke
parents:
diff changeset
100 public boolean isJavaMethod() { return false; }
a61af66fc99e Initial load
duke
parents:
diff changeset
101 public boolean isNativeMethod() { return false; }
a61af66fc99e Initial load
duke
parents:
diff changeset
102 /** On-Stack Replacement method */
a61af66fc99e Initial load
duke
parents:
diff changeset
103 public boolean isOSRMethod() { return false; }
a61af66fc99e Initial load
duke
parents:
diff changeset
104
a61af66fc99e Initial load
duke
parents:
diff changeset
105 // Boundaries
a61af66fc99e Initial load
duke
parents:
diff changeset
106 public Address headerBegin() {
a61af66fc99e Initial load
duke
parents:
diff changeset
107 return addr;
a61af66fc99e Initial load
duke
parents:
diff changeset
108 }
a61af66fc99e Initial load
duke
parents:
diff changeset
109
a61af66fc99e Initial load
duke
parents:
diff changeset
110 public Address headerEnd() {
a61af66fc99e Initial load
duke
parents:
diff changeset
111 return addr.addOffsetTo(headerSizeField.getValue(addr));
a61af66fc99e Initial load
duke
parents:
diff changeset
112 }
a61af66fc99e Initial load
duke
parents:
diff changeset
113
a61af66fc99e Initial load
duke
parents:
diff changeset
114 // FIXME: add RelocInfo
a61af66fc99e Initial load
duke
parents:
diff changeset
115 // public RelocInfo relocationBegin();
a61af66fc99e Initial load
duke
parents:
diff changeset
116 // public RelocInfo relocationEnd();
a61af66fc99e Initial load
duke
parents:
diff changeset
117
a61af66fc99e Initial load
duke
parents:
diff changeset
118 public Address instructionsBegin() {
a61af66fc99e Initial load
duke
parents:
diff changeset
119 return headerBegin().addOffsetTo(instructionsOffsetField.getValue(addr));
a61af66fc99e Initial load
duke
parents:
diff changeset
120 }
a61af66fc99e Initial load
duke
parents:
diff changeset
121
a61af66fc99e Initial load
duke
parents:
diff changeset
122 public Address instructionsEnd() {
a61af66fc99e Initial load
duke
parents:
diff changeset
123 return headerBegin().addOffsetTo(dataOffsetField.getValue(addr));
a61af66fc99e Initial load
duke
parents:
diff changeset
124 }
a61af66fc99e Initial load
duke
parents:
diff changeset
125
a61af66fc99e Initial load
duke
parents:
diff changeset
126 public Address dataBegin() {
a61af66fc99e Initial load
duke
parents:
diff changeset
127 return headerBegin().addOffsetTo(dataOffsetField.getValue(addr));
a61af66fc99e Initial load
duke
parents:
diff changeset
128 }
a61af66fc99e Initial load
duke
parents:
diff changeset
129
a61af66fc99e Initial load
duke
parents:
diff changeset
130 public Address dataEnd() {
a61af66fc99e Initial load
duke
parents:
diff changeset
131 return headerBegin().addOffsetTo(sizeField.getValue(addr));
a61af66fc99e Initial load
duke
parents:
diff changeset
132 }
a61af66fc99e Initial load
duke
parents:
diff changeset
133
a61af66fc99e Initial load
duke
parents:
diff changeset
134 public Address oopsBegin() {
a61af66fc99e Initial load
duke
parents:
diff changeset
135 return headerBegin().addOffsetTo(oopsOffsetField.getValue(addr));
a61af66fc99e Initial load
duke
parents:
diff changeset
136 }
a61af66fc99e Initial load
duke
parents:
diff changeset
137
a61af66fc99e Initial load
duke
parents:
diff changeset
138 public Address oopsEnd() {
a61af66fc99e Initial load
duke
parents:
diff changeset
139 return oopsBegin().addOffsetTo(getOopsLength());
a61af66fc99e Initial load
duke
parents:
diff changeset
140 }
a61af66fc99e Initial load
duke
parents:
diff changeset
141
a61af66fc99e Initial load
duke
parents:
diff changeset
142 // Offsets
a61af66fc99e Initial load
duke
parents:
diff changeset
143 public int getRelocationOffset() { return (int) headerSizeField.getValue(addr); }
a61af66fc99e Initial load
duke
parents:
diff changeset
144 public int getInstructionsOffset() { return (int) instructionsOffsetField.getValue(addr); }
a61af66fc99e Initial load
duke
parents:
diff changeset
145 public int getDataOffset() { return (int) dataOffsetField.getValue(addr); }
a61af66fc99e Initial load
duke
parents:
diff changeset
146 public int getOopsOffset() { return (int) oopsOffsetField.getValue(addr); }
a61af66fc99e Initial load
duke
parents:
diff changeset
147
a61af66fc99e Initial load
duke
parents:
diff changeset
148 // Sizes
a61af66fc99e Initial load
duke
parents:
diff changeset
149 public int getSize() { return (int) sizeField.getValue(addr); }
a61af66fc99e Initial load
duke
parents:
diff changeset
150 public int getHeaderSize() { return (int) headerSizeField.getValue(addr); }
a61af66fc99e Initial load
duke
parents:
diff changeset
151 // FIXME: add getRelocationSize()
a61af66fc99e Initial load
duke
parents:
diff changeset
152 public int getInstructionsSize() { return (int) instructionsEnd().minus(instructionsBegin()); }
a61af66fc99e Initial load
duke
parents:
diff changeset
153 public int getDataSize() { return (int) dataEnd().minus(dataBegin()); }
a61af66fc99e Initial load
duke
parents:
diff changeset
154
a61af66fc99e Initial load
duke
parents:
diff changeset
155 // Containment
a61af66fc99e Initial load
duke
parents:
diff changeset
156 public boolean blobContains(Address addr) { return headerBegin().lessThanOrEqual(addr) && dataEnd().greaterThan(addr); }
a61af66fc99e Initial load
duke
parents:
diff changeset
157 // FIXME: add relocationContains
a61af66fc99e Initial load
duke
parents:
diff changeset
158 public boolean instructionsContains(Address addr) { return instructionsBegin().lessThanOrEqual(addr) && instructionsEnd().greaterThan(addr); }
a61af66fc99e Initial load
duke
parents:
diff changeset
159 public boolean dataContains(Address addr) { return dataBegin().lessThanOrEqual(addr) && dataEnd().greaterThan(addr); }
a61af66fc99e Initial load
duke
parents:
diff changeset
160 public boolean oopsContains(Address addr) { return oopsBegin().lessThanOrEqual(addr) && oopsEnd().greaterThan(addr); }
a61af66fc99e Initial load
duke
parents:
diff changeset
161 public boolean contains(Address addr) { return instructionsContains(addr); }
a61af66fc99e Initial load
duke
parents:
diff changeset
162 public boolean isFrameCompleteAt(Address a) { return instructionsContains(a) && a.minus(instructionsBegin()) >= frameCompleteOffsetField.getValue(addr); }
a61af66fc99e Initial load
duke
parents:
diff changeset
163
a61af66fc99e Initial load
duke
parents:
diff changeset
164 /** Support for oops in scopes and relocs. Note: index 0 is reserved for null. */
a61af66fc99e Initial load
duke
parents:
diff changeset
165 public OopHandle getOopAt(int index) {
a61af66fc99e Initial load
duke
parents:
diff changeset
166 if (index == 0) return null;
a61af66fc99e Initial load
duke
parents:
diff changeset
167 if (Assert.ASSERTS_ENABLED) {
a61af66fc99e Initial load
duke
parents:
diff changeset
168 Assert.that(index > 0 && index <= getOopsLength(), "must be a valid non-zero index");
a61af66fc99e Initial load
duke
parents:
diff changeset
169 }
a61af66fc99e Initial load
duke
parents:
diff changeset
170 return oopsBegin().getOopHandleAt((index - 1) * VM.getVM().getOopSize());
a61af66fc99e Initial load
duke
parents:
diff changeset
171 }
a61af66fc99e Initial load
duke
parents:
diff changeset
172
a61af66fc99e Initial load
duke
parents:
diff changeset
173 // Reclamation support (really only used by the nmethods, but in order to get asserts to work
a61af66fc99e Initial load
duke
parents:
diff changeset
174 // in the CodeCache they are defined virtual here)
a61af66fc99e Initial load
duke
parents:
diff changeset
175 public boolean isZombie() { return false; }
a61af66fc99e Initial load
duke
parents:
diff changeset
176 public boolean isLockedByVM() { return false; }
a61af66fc99e Initial load
duke
parents:
diff changeset
177
a61af66fc99e Initial load
duke
parents:
diff changeset
178 /** OopMap for frame; can return null if none available */
a61af66fc99e Initial load
duke
parents:
diff changeset
179 public OopMapSet getOopMaps() {
a61af66fc99e Initial load
duke
parents:
diff changeset
180 Address oopMapsAddr = oopMapsField.getValue(addr);
a61af66fc99e Initial load
duke
parents:
diff changeset
181 if (oopMapsAddr == null) {
a61af66fc99e Initial load
duke
parents:
diff changeset
182 return null;
a61af66fc99e Initial load
duke
parents:
diff changeset
183 }
a61af66fc99e Initial load
duke
parents:
diff changeset
184 return new OopMapSet(oopMapsAddr);
a61af66fc99e Initial load
duke
parents:
diff changeset
185 }
a61af66fc99e Initial load
duke
parents:
diff changeset
186 // FIXME: not yet implementable
a61af66fc99e Initial load
duke
parents:
diff changeset
187 // void set_oop_maps(OopMapSet* p);
a61af66fc99e Initial load
duke
parents:
diff changeset
188
a61af66fc99e Initial load
duke
parents:
diff changeset
189 public OopMap getOopMapForReturnAddress(Address returnAddress, boolean debugging) {
a61af66fc99e Initial load
duke
parents:
diff changeset
190 Address pc = returnAddress;
a61af66fc99e Initial load
duke
parents:
diff changeset
191 if (Assert.ASSERTS_ENABLED) {
a61af66fc99e Initial load
duke
parents:
diff changeset
192 Assert.that(getOopMaps() != null, "nope");
a61af66fc99e Initial load
duke
parents:
diff changeset
193 }
a61af66fc99e Initial load
duke
parents:
diff changeset
194 return getOopMaps().findMapAtOffset(pc.minus(instructionsBegin()), debugging);
a61af66fc99e Initial load
duke
parents:
diff changeset
195 }
a61af66fc99e Initial load
duke
parents:
diff changeset
196
a61af66fc99e Initial load
duke
parents:
diff changeset
197 // virtual void preserve_callee_argument_oops(frame fr, const RegisterMap* reg_map, void f(oop*)) { ShouldNotReachHere(); }
a61af66fc99e Initial load
duke
parents:
diff changeset
198 // FIXME;
a61af66fc99e Initial load
duke
parents:
diff changeset
199
a61af66fc99e Initial load
duke
parents:
diff changeset
200 /** NOTE: this returns a size in BYTES in this system! */
a61af66fc99e Initial load
duke
parents:
diff changeset
201 public long getFrameSize() {
a61af66fc99e Initial load
duke
parents:
diff changeset
202 return VM.getVM().getAddressSize() * frameSizeField.getValue(addr);
a61af66fc99e Initial load
duke
parents:
diff changeset
203 }
a61af66fc99e Initial load
duke
parents:
diff changeset
204
a61af66fc99e Initial load
duke
parents:
diff changeset
205 // Returns true, if the next frame is responsible for GC'ing oops passed as arguments
a61af66fc99e Initial load
duke
parents:
diff changeset
206 public boolean callerMustGCArguments(JavaThread thread) { return false; }
a61af66fc99e Initial load
duke
parents:
diff changeset
207
a61af66fc99e Initial load
duke
parents:
diff changeset
208 public String getName() {
a61af66fc99e Initial load
duke
parents:
diff changeset
209 return CStringUtilities.getString(nameField.getValue(addr));
a61af66fc99e Initial load
duke
parents:
diff changeset
210 }
a61af66fc99e Initial load
duke
parents:
diff changeset
211
a61af66fc99e Initial load
duke
parents:
diff changeset
212 // FIXME: NOT FINISHED
a61af66fc99e Initial load
duke
parents:
diff changeset
213
a61af66fc99e Initial load
duke
parents:
diff changeset
214 // FIXME: add more accessors
a61af66fc99e Initial load
duke
parents:
diff changeset
215
a61af66fc99e Initial load
duke
parents:
diff changeset
216 public void print() {
a61af66fc99e Initial load
duke
parents:
diff changeset
217 printOn(System.out);
a61af66fc99e Initial load
duke
parents:
diff changeset
218 }
a61af66fc99e Initial load
duke
parents:
diff changeset
219
a61af66fc99e Initial load
duke
parents:
diff changeset
220 public void printOn(PrintStream tty) {
a61af66fc99e Initial load
duke
parents:
diff changeset
221 tty.print(getName());
a61af66fc99e Initial load
duke
parents:
diff changeset
222 printComponentsOn(tty);
a61af66fc99e Initial load
duke
parents:
diff changeset
223 }
a61af66fc99e Initial load
duke
parents:
diff changeset
224
a61af66fc99e Initial load
duke
parents:
diff changeset
225 protected void printComponentsOn(PrintStream tty) {
a61af66fc99e Initial load
duke
parents:
diff changeset
226 // FIXME: add relocation information
a61af66fc99e Initial load
duke
parents:
diff changeset
227 tty.println(" instructions: [" + instructionsBegin() + ", " + instructionsEnd() + "), " +
a61af66fc99e Initial load
duke
parents:
diff changeset
228 " data: [" + dataBegin() + ", " + dataEnd() + "), " +
a61af66fc99e Initial load
duke
parents:
diff changeset
229 " oops: [" + oopsBegin() + ", " + oopsEnd() + "), " +
a61af66fc99e Initial load
duke
parents:
diff changeset
230 " frame size: " + getFrameSize());
a61af66fc99e Initial load
duke
parents:
diff changeset
231 }
a61af66fc99e Initial load
duke
parents:
diff changeset
232
a61af66fc99e Initial load
duke
parents:
diff changeset
233 //--------------------------------------------------------------------------------
a61af66fc99e Initial load
duke
parents:
diff changeset
234 // Internals only below this point
a61af66fc99e Initial load
duke
parents:
diff changeset
235 //
a61af66fc99e Initial load
duke
parents:
diff changeset
236
a61af66fc99e Initial load
duke
parents:
diff changeset
237 private int getOopsLength() {
a61af66fc99e Initial load
duke
parents:
diff changeset
238 return (int) oopsLengthField.getValue(addr);
a61af66fc99e Initial load
duke
parents:
diff changeset
239 }
a61af66fc99e Initial load
duke
parents:
diff changeset
240 }