Commit daf3152
src: implement GetDetachedness() in MemoryRetainerNode
This allows us to mark weak/detached references in the heap snapshot.
Also mark weak/detached BaseObject with Detachedness::kDetached
so that the state of the reference can be displayed by frontend
consuming the heap snapshot.
PR-URL: #44803
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 7ca77dd commit daf3152Copy full SHA for daf3152
File tree
Expand file treeCollapse file tree
6 files changed
+34
-1
lines changedOpen diff view settings
Filter options
- src
- test
- common
- pummel
Expand file treeCollapse file tree
6 files changed
+34
-1
lines changedOpen diff view settings
Collapse file
+5Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
92 | 92 | |
93 | 93 | |
94 | 94 | |
| 95 | + |
| 96 | + |
| 97 | + |
| 98 | + |
| 99 | + |
95 | 100 | |
96 | 101 | |
97 | 102 | |
|
Collapse file
+2Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
85 | 85 | |
86 | 86 | |
87 | 87 | |
| 88 | + |
| 89 | + |
88 | 90 | |
89 | 91 | |
90 | 92 | |
|
Collapse file
+6Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
31 | 31 | |
32 | 32 | |
33 | 33 | |
| 34 | + |
34 | 35 | |
35 | 36 | |
36 | 37 | |
| ||
57 | 58 | |
58 | 59 | |
59 | 60 | |
| 61 | + |
| 62 | + |
| 63 | + |
60 | 64 | |
61 | 65 | |
62 | 66 | |
| ||
73 | 77 | |
74 | 78 | |
75 | 79 | |
| 80 | + |
| 81 | + |
76 | 82 | |
77 | 83 | |
78 | 84 | |
|
Collapse file
+3Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
127 | 127 | |
128 | 128 | |
129 | 129 | |
| 130 | + |
| 131 | + |
| 132 | + |
130 | 133 | |
131 | 134 | |
132 | 135 | |
|
Collapse file
+16Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
142 | 142 | |
143 | 143 | |
144 | 144 | |
| 145 | + |
| 146 | + |
| 147 | + |
| 148 | + |
| 149 | + |
| 150 | + |
| 151 | + |
| 152 | + |
| 153 | + |
| 154 | + |
| 155 | + |
| 156 | + |
| 157 | + |
| 158 | + |
| 159 | + |
| 160 | + |
145 | 161 | |
146 | 162 | |
147 | 163 | |
|
Collapse file
test/pummel/test-heapdump-dns.js
Copy file name to clipboardExpand all lines: test/pummel/test-heapdump-dns.js+2-1Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
13 | 13 | |
14 | 14 | |
15 | 15 | |
16 | | - |
| 16 | + |
| 17 | + |
17 | 18 | |
18 | 19 | |
0 commit comments