1packet { 2 process_tree { 3 processes { 4 pid: 2 5 ppid: 1 6 cmdline: "system_server" 7 uid: 1000 8 } 9 } 10} 11packet { 12 trusted_packet_sequence_id: 999 13 timestamp: 10 14 heap_graph { 15 pid: 2 16 objects { 17 # Class<Object> type 18 id: 0x01 19 type_id: 1 20 self_size: 40 21 } 22 objects { 23 # Class<MySuperClass> type 24 id: 0x02 25 type_id: 2 26 self_size: 40 27 reference_field_id: 1 28 reference_object_id: 0x01 29 } 30 objects { 31 # Class<MyChildClass> type 32 id: 0x03 33 type_id: 3 34 self_size: 40 35 reference_field_id: 1 36 reference_object_id: 0x02 37 } 38 objects { 39 # Object instance 40 id: 0x04 41 type_id: 4 42 self_size: 128 43 } 44 objects { 45 # MySuperClass instance 46 id: 0x05 47 type_id: 5 48 self_size: 128 49 } 50 objects { 51 # MyChildClass instance 52 id: 0x06 53 type_id: 6 54 self_size: 128 55 } 56 57 types { 58 id: 1 59 location_id: 1 60 class_name: "java.lang.Class<java.lang.Object>" 61 } 62 types { 63 id: 2 64 location_id: 1 65 class_name: "java.lang.Class<MySuperClass>" 66 } 67 types { 68 id: 3 69 location_id: 2 70 class_name: "java.lang.Class<MyChildClass>" 71 } 72 types { 73 id: 4 74 location_id: 1 75 class_name: "java.lang.Object" 76 } 77 types { 78 id: 5 79 location_id: 1 80 class_name: "MySuperClass" 81 } 82 types { 83 id: 6 84 location_id: 2 85 class_name: "MyChildClass" 86 } 87 88 field_names { 89 iid: 1 90 str: "java.lang.Class.superClass" 91 } 92 93 location_names { 94 iid: 1 95 str: "l1" 96 } 97 location_names { 98 iid: 2 99 str: "l2" 100 } 101 continued: false 102 index: 0 103 } 104} 105