/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/ |
H A D | RobustOopDeterminator.java | 35 oop or not. It does this by checking the integrity of the 61 public static boolean oopLooksValid(OopHandle oop) { argument 62 if (oop == null) { 65 if (!VM.getVM().getUniverse().isIn(oop)) { 70 OopHandle next = klassField.getValue(oop); 74 if (next.equals(oop)) { 77 oop = next;
|
H A D | AbstractHeapGraphWriter.java | 60 public boolean doObj(Oop oop) { 62 if (oop instanceof TypeArray) { 63 writePrimitiveArray((TypeArray)oop); 64 } else if (oop instanceof ObjArray) { 65 Klass klass = oop.getKlass(); 70 writeObjectArray((ObjArray)oop); 72 writeInternalObject(oop); 74 } else if (oop instanceof Instance) { 75 Instance instance = (Instance) oop; 97 // not-a-Java-visible oop 176 writeInternalObject(Oop oop) argument 205 writeObject(Oop oop) argument 211 writeObjectHeader(Oop oop) argument 215 writeObjectFields(final Oop oop) argument 303 writeInternalReferenceField(Oop oop, OopField field) argument 307 writeReferenceField(Oop oop, OopField field) argument 311 writeByteField(Oop oop, ByteField field) argument 315 writeCharField(Oop oop, CharField field) argument 319 writeBooleanField(Oop oop, BooleanField field) argument 323 writeShortField(Oop oop, ShortField field) argument 327 writeIntField(Oop oop, IntField field) argument 331 writeLongField(Oop oop, LongField field) argument 335 writeFloatField(Oop oop, FloatField field) argument 339 writeDoubleField(Oop oop, DoubleField field) argument 343 writeObjectFooter(Oop oop) argument 367 isJavaVisible(Oop oop) argument [all...] |
H A D | HeapGXLWriter.java | 103 protected void writeObjectHeader(Oop oop) throws IOException { argument 105 isArray = oop.isArray(); 109 writeEdge(oop, oop.getKlass().getJavaMirror(), "instanceof"); 112 out.print(getID(oop)); 116 protected void writeObjectFooter(Oop oop) throws IOException { argument 122 Oop ref = field.getValue(oop); 131 writeEdge(oop, ref, name); 227 protected void writeReferenceField(Oop oop, OopField field) argument 232 protected void writeByteField(Oop oop, ByteFiel argument 237 writeCharField(Oop oop, CharField field) argument 243 writeBooleanField(Oop oop, BooleanField field) argument 248 writeShortField(Oop oop, ShortField field) argument 253 writeIntField(Oop oop, IntField field) argument 258 writeLongField(Oop oop, LongField field) argument 263 writeFloatField(Oop oop, FloatField field) argument 268 writeDoubleField(Oop oop, DoubleField field) argument 326 getID(Oop oop) argument [all...] |
H A D | ObjectReader.java | 103 public Object readObject(Oop oop) throws ClassNotFoundException { argument 104 if (oop instanceof Instance) { 105 return readInstance((Instance) oop); 106 } else if (oop instanceof TypeArray){ 107 return readPrimitiveArray((TypeArray)oop); 108 } else if (oop instanceof ObjArray){ 109 return readObjectArray((ObjArray)oop); 174 private void setHashtableEntry(java.util.Hashtable p, Oop oop) { argument 175 InstanceKlass ik = (InstanceKlass)oop.getKlass(); 190 key = readObject(keyField.getValue(oop)); 207 getHashtable(Instance oop, boolean isProperties) argument 228 readInstance(Instance oop) argument 649 putIntoObjTable(Oop oop, Object obj) argument 653 getFromObjTable(Oop oop) argument [all...] |
H A D | HeapHprofBinWriter.java | 564 Oop oop = objectHeap.newOop(oopHandle); 566 if (oop != null && isJavaVisible(oop)) { 568 writeObjectID(oop); 590 Oop oop = objectHeap.newOop(oopHandle); 592 if (oop != null && isJavaVisible(oop)) { 594 writeObjectID(oop); 780 private void writeField(Field field, Oop oop) throws IOException { argument 784 out.writeBoolean(((BooleanField)field).getValue(oop)); 898 writeObjectID(Oop oop) argument [all...] |
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/ |
H A D | ConcurrentLocksPrinter.java | 46 Oop oop = (Oop) itr.next(); 47 tty.println(" - <" + oop.getHandle() + ">, (a " + 48 oop.getKlass().getName().asString() + ")"); 54 private JavaThread getOwnerThread(Oop oop) { argument 55 Oop threadOop = OopUtilities.abstractOwnableSynchronizerGetOwnerThread(oop); 71 public boolean doObj(Oop oop) { 72 JavaThread thread = getOwnerThread(oop); 79 locks.add(oop);
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/tree/ |
H A D | BadOopTreeNodeAdapter.java | 34 private OopHandle oop; field in class:BadOopTreeNodeAdapter 36 public BadOopTreeNodeAdapter(OopHandle oop, FieldIdentifier id) { argument 37 this(oop, id, false); 40 /** The oop may be null (for oop fields of oops which are null); the 42 public BadOopTreeNodeAdapter(OopHandle oop, FieldIdentifier id, boolean treeTableMode) { argument 44 this.oop = oop; 64 return "** BAD OOP " + oop + " **";
|
H A D | RevPtrsTreeNodeAdapter.java | 41 public RevPtrsTreeNodeAdapter(Oop oop) { argument 42 this(oop, false); 45 public RevPtrsTreeNodeAdapter(Oop oop, boolean treeTableMode) { argument 47 children = VM.getVM().getRevPtrs().get(oop); 57 Oop oop = lpe.getObj(); 58 if (oop != null) { 59 return new OopTreeNodeAdapter(oop, ifid, getTreeTableMode());
|
H A D | OopTreeNodeAdapter.java | 35 VM fields should be shown. (Must also fix oop visitation mechanism 39 private Oop oop; field in class:OopTreeNodeAdapter 41 /** The oop may be null (for oop fields of oops which are null); the 44 public OopTreeNodeAdapter(Oop oop, FieldIdentifier id) { argument 45 this(oop, id, false); 48 /** The oop may be null (for oop fields of oops which are null); the 50 public OopTreeNodeAdapter(Oop oop, FieldIdentifier id, boolean treeTableMode) { argument 52 this.oop [all...] |
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/soql/ |
H A D | JSJavaObject.java | 32 public JSJavaObject(Oop oop, JSJavaFactory factory) { argument 33 this.oop = oop; 38 return oop; 47 return oop.equals(other.oop); 51 return oop.hashCode(); 55 return "Object " + oop.getHandle().toString(); 58 private final Oop oop; field in class:JSJavaObject
|
H A D | JSJavaFactory.java | 32 public JSJavaObject newJSJavaObject(Oop oop); argument
|
H A D | JSJavaFactoryImpl.java | 34 public JSJavaObject newJSJavaObject(Oop oop) { argument 35 if (oop == null) return null; 36 SoftReference sref = (SoftReference) om.get(oop); 39 if (oop instanceof TypeArray) { 40 res = new JSJavaTypeArray((TypeArray)oop, this); 41 } else if (oop instanceof ObjArray) { 42 res = new JSJavaObjArray((ObjArray)oop, this); 43 } else if (oop instanceof Instance) { 44 res = newJavaInstance((Instance) oop); 45 } else if (oop instanceo [all...] |
H A D | SOQLEngine.java | 176 private void dispatchObject(Oop oop, ObjectVisitor visitor, boolean filterExists) { argument 177 JSJavaObject jsObj = factory.newJSJavaObject(oop);
|
H A D | JSJavaInstanceKlass.java | 261 private Object getFieldValue(Field fld, String name, Oop oop) { argument 264 return factory.newJSJavaObject(((OopField)fld).getValue(oop)); 266 return new Byte(((ByteField)fld).getValue(oop)); 268 return new String(new char[] { ((CharField)fld).getValue(oop) }); 270 return new Double(((DoubleField)fld).getValue(oop)); 272 return new Float(((FloatField)fld).getValue(oop)); 274 return new Integer(((IntField)fld).getValue(oop)); 276 return new Long(((LongField)fld).getValue(oop)); 278 return new Short(((ShortField)fld).getValue(oop)); 280 return Boolean.valueOf(((BooleanField)fld).getValue(oop)); [all...] |
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/ |
H A D | SAListener.java | 59 public void showLiveness(Oop oop, LivenessPathList liveness); argument
|
H A D | SAPanel.java | 77 public void showInspector(Oop oop) { argument 78 showInspector(new OopTreeNodeAdapter(oop, null));
|
H A D | ObjectListPanel.java | 179 Oop oop = (Oop) elements.get(row); 180 return getValueForColumn(oop, col); 183 public Object getValueForColumn(Oop oop, int col) { argument 188 return new AddressWrapper(oop.getHandle()); 190 oop.printValueOn(new PrintStream(bos)); 194 if (oop instanceof Array) { 195 return new Long(((Array) oop).getLength()); 199 oop.getKlass().printValueOn(new PrintStream(bos)); 204 oop.getKlass().printValueOn(new PrintStream(bos)); 208 if (VM.getVM().getRevPtrs().get(oop) ! [all...] |
/openjdk7/hotspot/src/share/vm/oops/ |
H A D | oopsHierarchy.hpp | 35 typedef juint narrowOop; // Offset instead of address for an oop within a java object 36 typedef class klassOopDesc* wideKlassOop; // to keep SA happy and unhandled oop 42 typedef class oopDesc* oop; typedef in typeref:class:oopDesc 59 // When CHECK_UNHANDLED_OOPS is defined, an "oop" is a class with a 63 // Because oop and its subclasses <type>Oop are class types, arbitrary 66 // from a constant in 64 bit mode), or unable to convert from type to 'oop'. 69 // Converting NULL to oop to Handle implicit is no longer accepted by the 78 class oop { class 92 oop() { set_obj(NULL); } function in class:oop 93 oop(cons function in class:oop 94 oop(const void* p) { set_obj(p); } function in class:oop 95 oop(intptr_t i) { set_obj((void *)i); } function in class:oop 97 oop(int i) { set_obj((void *)i); } function in class:oop [all...] |
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/tools/ |
H A D | PermStat.java | 84 public boolean doObj(Oop oop) { 85 loaderMap.put(oop, new LoaderData()); 231 private static long objectSize(Oop oop) { argument 232 return oop == null ? 0L : oop.getObjectSize();
|
/openjdk7/hotspot/src/share/vm/opto/ |
H A D | locknode.hpp | 95 FastLockNode(Node *ctrl, Node *oop, Node *box) : CmpNode(oop,box) { argument 120 FastUnlockNode(Node *ctrl, Node *oop, Node *box) : CmpNode(oop,box) { argument
|
H A D | machnode.cpp | 45 TypeOopPtr *MachOper::oop() const { return NULL; } function in class:MachOper 291 // Lookup the TypePtr used by indOffset32X, a compile-time constant oop, 306 // Use ideal type if it is oop ptr. 330 // %%%%% Someday we'd like to allow constant oop offsets which 343 assert(!Universe::heap()->is_in_reserved((oop)offset), "must be a raw ptr"); 352 // 32-bit unscaled narrow oop can be the base of any address expression 356 // We cannot assert that the offset does not look oop-ish here. 359 // The sum of cardmark-base plus shift-by-9-oop lands outside 360 // the oop-ish area but we can't assert for that statically.
|
/openjdk7/hotspot/src/share/vm/code/ |
H A D | location.hpp | 54 oop, // Oop (please GC me!) enumerator in enum:VALUE_OBJ_CLASS_SPEC::Type
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/oops/ |
H A D | OopUtilities.java | 36 /** A utility class encapsulating useful oop operations */ 311 public static Oop abstractOwnableSynchronizerGetOwnerThread(Oop oop) { argument 316 return absOwnSyncOwnerThreadField.getValue(oop);
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ |
H A D | CommandProcessor.java | 213 void printOopValue(Oop oop) { argument 214 if (oop != null) { 215 Klass k = oop.getKlass(); 222 Oop.printOopAddressOn(oop, out); 603 Oop oop = VM.getVM().getObjectHeap().newOop(handle); 604 ArrayList ptrs = revptrs.get(oop); 622 oop = e.getObj(); 790 Oop oop = VM.getVM().getObjectHeap().newOop(handle); 791 node = new OopTreeNodeAdapter(oop, null); 794 " (size = " + oop [all...] |
H A D | HSDB.java | 688 public void showLiveness(Oop oop, LivenessPathList liveness) { argument 712 Oop.printOopValueOn(oop, tty); 901 // FIXME: some compiled frames with empty oop map sets have been 906 // later attempt to get an oop map for that instruction. For 1035 String anno = "null oop"; 1077 // Optimistically assume the oop isn't bad 1084 Oop oop = VM.getVM().getObjectHeap().newOop(handle); 1085 if (oop instanceof Instance) { 1087 anno = anno + oop.getKlass().getName().asString(); 1090 Oop.printOopValueOn(oop, ne [all...] |