agent/src/share/classes/sun/jvm/hotspot/utilities/HeapGXLWriter.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File 7031614 Cdiff agent/src/share/classes/sun/jvm/hotspot/utilities/HeapGXLWriter.java

agent/src/share/classes/sun/jvm/hotspot/utilities/HeapGXLWriter.java

Print this page

        

*** 162,172 **** writeObjectFooter(array); } protected void writeClass(Instance instance) throws IOException { writeObjectHeader(instance); ! Klass reflectedType = OopUtilities.classOopToKlass(instance); boolean isInstanceKlass = (reflectedType instanceof InstanceKlass); // reflectedType is null for primitive types (int.class etc). if (reflectedType != null) { Symbol name = reflectedType.getName(); if (name != null) { --- 162,172 ---- writeObjectFooter(array); } protected void writeClass(Instance instance) throws IOException { writeObjectHeader(instance); ! Klass reflectedType = java_lang_Class.asKlass(instance); boolean isInstanceKlass = (reflectedType instanceof InstanceKlass); // reflectedType is null for primitive types (int.class etc). if (reflectedType != null) { Symbol name = reflectedType.getName(); if (name != null) {
agent/src/share/classes/sun/jvm/hotspot/utilities/HeapGXLWriter.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File