| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private long | |
| private int | |
| private long | |
| private int | |
| private long | |
| private int | |
| private Map | |
| private long | |
| private Debugger | |
| private long | |
| private int | |
| private static final int | |
| private static final int | |
| private long | |
| private int | |
| private FileOutputStream | |
| private int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final String | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final long | |
| private static final long | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private OutputStream | |
| private long | |
| private int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private ArrayList | |
| private long | |
| private int | |
| private static final long | |
| private HashSet | |
| private int | |
| private long | |
| private ObjectHeap | |
| private DataOutputStream | |
| pack-priv int | |
| private long | |
| private int | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private int | |
| private int | |
| private int | |
| private int | |
| private int | |
| private int | |
| protected int | calculateOopDumpRecordSize(Oop oop)
Implements abstract sun.
|
| private int | |
| private void | |
| private void | |
| private void | |
| private static byte[] | |
| private long | |
| private int | |
| private static List | |
| private int | |
| private int | |
| private int | |
| private boolean | |
| public static int | |
| public synchronized void | write(String fileName)
Implements sun. writes the heap graph in the given file |
| private void | |
| private void | |
| private void | |
| protected void | writeClass(Instance instance)
Overrides sun.
|
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| protected void | |
| private void | |
| protected void | |
| protected void | writeInstance(Instance instance)
Overrides sun.
|
| private void | |
| protected void | writeJavaThread(JavaThread jt, int index)
Overrides sun.
|
| protected void | |
| private void | |
| protected void | |
| private void | |
| private void | |
| protected void | |
| private void | |
| protected void | |
| protected void | |
| private void | |
| private void | |
| private void |
| BOOLEAN_BASE_OFFSET | back to summary |
|---|---|
| private long BOOLEAN_BASE_OFFSET | |
| BOOLEAN_SIZE | back to summary |
|---|---|
| private int BOOLEAN_SIZE | |
| BYTE_BASE_OFFSET | back to summary |
|---|---|
| private long BYTE_BASE_OFFSET | |
| BYTE_SIZE | back to summary |
|---|---|
| private int BYTE_SIZE | |
| CHAR_BASE_OFFSET | back to summary |
|---|---|
| private long CHAR_BASE_OFFSET | |
| CHAR_SIZE | back to summary |
|---|---|
| private int CHAR_SIZE | |
| classDataCache | back to summary |
|---|---|
| private Map<InstanceKlass, HeapHprofBinWriter. | |
| currentSegmentStart | back to summary |
|---|---|
| private long currentSegmentStart | |
| dbg | back to summary |
|---|---|
| private Debugger dbg | |
| DOUBLE_BASE_OFFSET | back to summary |
|---|---|
| private long DOUBLE_BASE_OFFSET | |
| DOUBLE_SIZE | back to summary |
|---|---|
| private int DOUBLE_SIZE | |
| DUMMY_STACK_TRACE_ID | back to summary |
|---|---|
| private static final int DUMMY_STACK_TRACE_ID | |
| EMPTY_FRAME_DEPTH | back to summary |
|---|---|
| private static final int EMPTY_FRAME_DEPTH | |
| FLOAT_BASE_OFFSET | back to summary |
|---|---|
| private long FLOAT_BASE_OFFSET | |
| FLOAT_SIZE | back to summary |
|---|---|
| private int FLOAT_SIZE | |
| fos | back to summary |
|---|---|
| private FileOutputStream fos | |
| gzLevel | back to summary |
|---|---|
| private int gzLevel | |
| HPROF_ALLOC_SITES | back to summary |
|---|---|
| private static final int HPROF_ALLOC_SITES | |
| HPROF_ARRAY_OBJECT | back to summary |
|---|---|
| private static final int HPROF_ARRAY_OBJECT | |
| HPROF_BOOLEAN | back to summary |
|---|---|
| private static final int HPROF_BOOLEAN | |
| HPROF_BYTE | back to summary |
|---|---|
| private static final int HPROF_BYTE | |
| HPROF_CHAR | back to summary |
|---|---|
| private static final int HPROF_CHAR | |
| HPROF_CONTROL_SETTINGS | back to summary |
|---|---|
| private static final int HPROF_CONTROL_SETTINGS | |
| HPROF_CPU_SAMPLES | back to summary |
|---|---|
| private static final int HPROF_CPU_SAMPLES | |
| HPROF_DOUBLE | back to summary |
|---|---|
| private static final int HPROF_DOUBLE | |
| HPROF_END_THREAD | back to summary |
|---|---|
| private static final int HPROF_END_THREAD | |
| HPROF_FLOAT | back to summary |
|---|---|
| private static final int HPROF_FLOAT | |
| HPROF_FRAME | back to summary |
|---|---|
| private static final int HPROF_FRAME | |
| HPROF_GC_CLASS_DUMP | back to summary |
|---|---|
| private static final int HPROF_GC_CLASS_DUMP | |
| HPROF_GC_INSTANCE_DUMP | back to summary |
|---|---|
| private static final int HPROF_GC_INSTANCE_DUMP | |
| HPROF_GC_OBJ_ARRAY_DUMP | back to summary |
|---|---|
| private static final int HPROF_GC_OBJ_ARRAY_DUMP | |
| HPROF_GC_PRIM_ARRAY_DUMP | back to summary |
|---|---|
| private static final int HPROF_GC_PRIM_ARRAY_DUMP | |
| HPROF_GC_ROOT_JAVA_FRAME | back to summary |
|---|---|
| private static final int HPROF_GC_ROOT_JAVA_FRAME | |
| HPROF_GC_ROOT_JNI_GLOBAL | back to summary |
|---|---|
| private static final int HPROF_GC_ROOT_JNI_GLOBAL | |
| HPROF_GC_ROOT_JNI_LOCAL | back to summary |
|---|---|
| private static final int HPROF_GC_ROOT_JNI_LOCAL | |
| HPROF_GC_ROOT_MONITOR_USED | back to summary |
|---|---|
| private static final int HPROF_GC_ROOT_MONITOR_USED | |
| HPROF_GC_ROOT_NATIVE_STACK | back to summary |
|---|---|
| private static final int HPROF_GC_ROOT_NATIVE_STACK | |
| HPROF_GC_ROOT_STICKY_CLASS | back to summary |
|---|---|
| private static final int HPROF_GC_ROOT_STICKY_CLASS | |
| HPROF_GC_ROOT_THREAD_BLOCK | back to summary |
|---|---|
| private static final int HPROF_GC_ROOT_THREAD_BLOCK | |
| HPROF_GC_ROOT_THREAD_OBJ | back to summary |
|---|---|
| private static final int HPROF_GC_ROOT_THREAD_OBJ | |
| HPROF_GC_ROOT_UNKNOWN | back to summary |
|---|---|
| private static final int HPROF_GC_ROOT_UNKNOWN | |
| HPROF_HEADER_1_0_2 | back to summary |
|---|---|
| private static final String HPROF_HEADER_1_0_2 | |
| HPROF_HEAP_DUMP | back to summary |
|---|---|
| private static final int HPROF_HEAP_DUMP | |
| HPROF_HEAP_DUMP_END | back to summary |
|---|---|
| private static final int HPROF_HEAP_DUMP_END | |
| HPROF_HEAP_DUMP_SEGMENT | back to summary |
|---|---|
| private static final int HPROF_HEAP_DUMP_SEGMENT | |
| HPROF_HEAP_SUMMARY | back to summary |
|---|---|
| private static final int HPROF_HEAP_SUMMARY | |
| HPROF_INT | back to summary |
|---|---|
| private static final int HPROF_INT | |
| HPROF_LOAD_CLASS | back to summary |
|---|---|
| private static final int HPROF_LOAD_CLASS | |
| HPROF_LONG | back to summary |
|---|---|
| private static final int HPROF_LONG | |
| HPROF_NORMAL_OBJECT | back to summary |
|---|---|
| private static final int HPROF_NORMAL_OBJECT | |
| HPROF_SEGMENTED_HEAP_DUMP_SEGMENT_SIZE | back to summary |
|---|---|
| private static final long HPROF_SEGMENTED_HEAP_DUMP_SEGMENT_SIZE | |
| HPROF_SEGMENTED_HEAP_DUMP_THRESHOLD | back to summary |
|---|---|
| private static final long HPROF_SEGMENTED_HEAP_DUMP_THRESHOLD | |
| HPROF_SHORT | back to summary |
|---|---|
| private static final int HPROF_SHORT | |
| HPROF_START_THREAD | back to summary |
|---|---|
| private static final int HPROF_START_THREAD | |
| HPROF_TRACE | back to summary |
|---|---|
| private static final int HPROF_TRACE | |
| HPROF_UNLOAD_CLASS | back to summary |
|---|---|
| private static final int HPROF_UNLOAD_CLASS | |
| HPROF_UTF8 | back to summary |
|---|---|
| private static final int HPROF_UTF8 | |
| hprofBufferedOut | back to summary |
|---|---|
| private OutputStream hprofBufferedOut | |
| INT_BASE_OFFSET | back to summary |
|---|---|
| private long INT_BASE_OFFSET | |
| INT_SIZE | back to summary |
|---|---|
| private int INT_SIZE | |
| JVM_SIGNATURE_ARRAY | back to summary |
|---|---|
| private static final int JVM_SIGNATURE_ARRAY | |
| JVM_SIGNATURE_BOOLEAN | back to summary |
|---|---|
| private static final int JVM_SIGNATURE_BOOLEAN | |
| JVM_SIGNATURE_BYTE | back to summary |
|---|---|
| private static final int JVM_SIGNATURE_BYTE | |
| JVM_SIGNATURE_CHAR | back to summary |
|---|---|
| private static final int JVM_SIGNATURE_CHAR | |
| JVM_SIGNATURE_CLASS | back to summary |
|---|---|
| private static final int JVM_SIGNATURE_CLASS | |
| JVM_SIGNATURE_DOUBLE | back to summary |
|---|---|
| private static final int JVM_SIGNATURE_DOUBLE | |
| JVM_SIGNATURE_FLOAT | back to summary |
|---|---|
| private static final int JVM_SIGNATURE_FLOAT | |
| JVM_SIGNATURE_INT | back to summary |
|---|---|
| private static final int JVM_SIGNATURE_INT | |
| JVM_SIGNATURE_LONG | back to summary |
|---|---|
| private static final int JVM_SIGNATURE_LONG | |
| JVM_SIGNATURE_SHORT | back to summary |
|---|---|
| private static final int JVM_SIGNATURE_SHORT | |
| KlassMap | back to summary |
|---|---|
| private ArrayList<Klass> KlassMap | |
| LONG_BASE_OFFSET | back to summary |
|---|---|
| private long LONG_BASE_OFFSET | |
| LONG_SIZE | back to summary |
|---|---|
| private int LONG_SIZE | |
| MAX_U4_VALUE | back to summary |
|---|---|
| private static final long MAX_U4_VALUE | |
| names | back to summary |
|---|---|
| private HashSet<Symbol> names | |
| OBJ_ID_SIZE | back to summary |
|---|---|
| private int OBJ_ID_SIZE | |
| OBJECT_BASE_OFFSET | back to summary |
|---|---|
| private long OBJECT_BASE_OFFSET | |
| objectHeap | back to summary |
|---|---|
| private ObjectHeap objectHeap | |
| out | back to summary |
|---|---|
| private DataOutputStream out | |
| serialNum | back to summary |
|---|---|
| pack-priv int serialNum | |
| SHORT_BASE_OFFSET | back to summary |
|---|---|
| private long SHORT_BASE_OFFSET | |
| SHORT_SIZE | back to summary |
|---|---|
| private int SHORT_SIZE | |
| useSegmentedHeapDump | back to summary |
|---|---|
| private boolean useSegmentedHeapDump | |
| HeapHprofBinWriter | back to summary |
|---|---|
| public HeapHprofBinWriter() | |
| HeapHprofBinWriter | back to summary |
|---|---|
| public HeapHprofBinWriter(int gzLevel) | |
| calculateArrayMaxLength | back to summary |
|---|---|
| private int calculateArrayMaxLength(long originalArrayLength, int headerSize, long typeSize, String typeName) | |
| calculateClassDumpRecordSize | back to summary |
|---|---|
| private int calculateClassDumpRecordSize(Klass k) | |
| calculateClassInstanceDumpRecordSize | back to summary |
|---|---|
| private int calculateClassInstanceDumpRecordSize(Instance instance) | |
| calculateFieldDescriptorsDumpRecordSize | back to summary |
|---|---|
| private int calculateFieldDescriptorsDumpRecordSize(List<Field> fields, InstanceKlass ik) | |
| calculateInstanceDumpRecordSize | back to summary |
|---|---|
| private int calculateInstanceDumpRecordSize(Instance instance) | |
| calculateObjectArrayDumpRecordSize | back to summary |
|---|---|
| private int calculateObjectArrayDumpRecordSize(ObjArray array) | |
| calculateOopDumpRecordSize | back to summary |
|---|---|
| protected int calculateOopDumpRecordSize(Oop oop) throws IOException Implements abstract sun. | |
| calculatePrimitiveArrayDumpRecordSize | back to summary |
|---|---|
| private int calculatePrimitiveArrayDumpRecordSize(TypeArray array) throws IOException | |
| dumpStackFrame | back to summary |
|---|---|
| private void dumpStackFrame(int frameSN, int classSN, Method m, int bci) throws IOException | |
| dumpStackTraces | back to summary |
|---|---|
| private void dumpStackTraces() throws IOException | |
| fillInHeapRecordLength | back to summary |
|---|---|
| private void fillInHeapRecordLength() throws IOException | |
| genByteArrayFromInt | back to summary |
|---|---|
| private static byte[] genByteArrayFromInt(int value) | |
| getAddressValue | back to summary |
|---|---|
| private long getAddressValue(Address addr) | |
| getArrayHeaderSize | back to summary |
|---|---|
| private int getArrayHeaderSize(boolean isObjectAarray) | |
| getInstanceFields | back to summary |
|---|---|
| private static List | |
| getSizeForField | back to summary |
|---|---|
| private int getSizeForField(Field field) | |
| getSizeForFields | back to summary |
|---|---|
| private int getSizeForFields(List<Field> fields) | |
| getSizeForType | back to summary |
|---|---|
| private int getSizeForType(int type) throws IOException | |
| isCompression | back to summary |
|---|---|
| private boolean isCompression() | |
| signatureToHprofKind | back to summary |
|---|---|
| public static int signatureToHprofKind(char ch) | |
| write | back to summary |
|---|---|
| public synchronized void write(String fileName) throws IOException Implements sun. Doc from sun. writes the heap graph in the given file | |
| writeBooleanArray | back to summary |
|---|---|
| private void writeBooleanArray(TypeArray array, int length) throws IOException | |
| writeByteArray | back to summary |
|---|---|
| private void writeByteArray(TypeArray array, int length) throws IOException | |
| writeCharArray | back to summary |
|---|---|
| private void writeCharArray(TypeArray array, int length) throws IOException | |
| writeClass | back to summary |
|---|---|
| protected void writeClass(Instance instance) throws IOException Overrides sun. | |
| writeClassDumpRecord | back to summary |
|---|---|
| private void writeClassDumpRecord(Klass k) throws IOException | |
| writeClassDumpRecords | back to summary |
|---|---|
| private void writeClassDumpRecords() throws IOException | |
| writeClasses | back to summary |
|---|---|
| private void writeClasses() throws IOException | |
| writeClassID | back to summary |
|---|---|
| private void writeClassID(Klass k) throws IOException | |
| writeClassSymbols | back to summary |
|---|---|
| private void writeClassSymbols(Klass k) throws IOException | |
| writeDoubleArray | back to summary |
|---|---|
| private void writeDoubleArray(TypeArray array, int length) throws IOException | |
| writeDummyTrace | back to summary |
|---|---|
| private void writeDummyTrace() throws IOException | |
| writeField | back to summary |
|---|---|
| private void writeField(Field field, Oop oop) throws IOException | |
| writeFieldDescriptors | back to summary |
|---|---|
| private void writeFieldDescriptors(List<Field> fields, InstanceKlass ik) throws IOException | |
| writeFileHeader | back to summary |
|---|---|
| private void writeFileHeader() throws IOException | |
| writeFloatArray | back to summary |
|---|---|
| private void writeFloatArray(TypeArray array, int length) throws IOException | |
| writeGlobalJNIHandle | back to summary |
|---|---|
| protected void writeGlobalJNIHandle(Address handleAddr) throws IOException Overrides sun. | |
| writeHeader | back to summary |
|---|---|
| private void writeHeader(int tag, int len) throws IOException | |
| writeHeapRecordPrologue | back to summary |
|---|---|
| protected void writeHeapRecordPrologue(int size) throws IOException Overrides sun.
| |
| writeInstance | back to summary |
|---|---|
| protected void writeInstance(Instance instance) throws IOException Overrides sun. | |
| writeIntArray | back to summary |
|---|---|
| private void writeIntArray(TypeArray array, int length) throws IOException | |
| writeJavaThread | back to summary |
|---|---|
| protected void writeJavaThread(JavaThread jt, int index) throws IOException Overrides sun. | |
| writeLocalJNIHandles | back to summary |
|---|---|
| protected void writeLocalJNIHandles(JavaThread jt, int index) throws IOException | |
| writeLongArray | back to summary |
|---|---|
| private void writeLongArray(TypeArray array, int length) throws IOException | |
| writeObjectArray | back to summary |
|---|---|
| protected void writeObjectArray(ObjArray array) throws IOException Overrides sun. | |
| writeObjectID | back to summary |
|---|---|
| private void writeObjectID(Oop oop) throws IOException | |
| writeObjectID | back to summary |
|---|---|
| private void writeObjectID(long address) throws IOException | |
| writePrimitiveArray | back to summary |
|---|---|
| protected void writePrimitiveArray(TypeArray array) throws IOException Overrides sun. | |
| writeShortArray | back to summary |
|---|---|
| private void writeShortArray(TypeArray array, int length) throws IOException | |
| writeStackRefs | back to summary |
|---|---|
| protected void writeStackRefs(int threadIndex, int frameIndex, StackValueCollection values) throws IOException | |
| writeStickyClasses | back to summary |
|---|---|
| protected void writeStickyClasses() throws IOException Overrides sun.
| |
| writeSymbol | back to summary |
|---|---|
| private void writeSymbol(Symbol sym) throws IOException | |
| writeSymbolID | back to summary |
|---|---|
| private void writeSymbolID(Symbol sym) throws IOException | |
| writeSymbols | back to summary |
|---|---|
| private void writeSymbols() throws IOException | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| fields | back to summary |
|---|---|
| pack-priv List<Field> fields | |
| instSize | back to summary |
|---|---|
| pack-priv int instSize | |
| ClassData | back to summary |
|---|---|
| pack-priv ClassData(int instSize, List<Field> fields) | |