Commit 8da9d96
deps: V8: cherry-pick 0fd478bcdabd
Original commit message:
[heap-profiler]: expose QueryObjects() to v8::HeapProfiler
This allows embedders to use this API for testing memory leaks more
reliably. See #50572 for an
example about how the API can be used.
Change-Id: Ic3d1268e2b331c37e8ec92997b764b9b5486f8c2
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5006373
Reviewed-by: Camillo Bruni <cbruni@chromium.org>
Reviewed-by: Simon Zünd <szuend@chromium.org>
Commit-Queue: Joyee Cheung <joyee@igalia.com>
Cr-Commit-Position: refs/heads/main@{#91123}
Refs: v8/v8@0fd478b
PR-URL: #50572
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>1 parent aee01ff commit 8da9d96Copy full SHA for 8da9d96
File tree
Expand file treeCollapse file tree
9 files changed
+89
-26
lines changedOpen diff view settings
Filter options
- deps/v8
- include
- src
- api
- debug
- inspector
- profiler
- test/cctest
Expand file treeCollapse file tree
9 files changed
+89
-26
lines changedOpen diff view settings
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
36 | 36 | |
37 | 37 | |
38 | 38 | |
39 | | - |
| 39 | + |
40 | 40 | |
41 | 41 | |
42 | 42 | |
|
Collapse file
deps/v8/include/v8-profiler.h
Copy file name to clipboardExpand all lines: deps/v8/include/v8-profiler.h+10Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
921 | 921 | |
922 | 922 | |
923 | 923 | |
| 924 | + |
| 925 | + |
| 926 | + |
| 927 | + |
| 928 | + |
| 929 | + |
924 | 930 | |
925 | 931 | |
926 | 932 | |
927 | 933 | |
928 | 934 | |
929 | 935 | |
| 936 | + |
| 937 | + |
| 938 | + |
| 939 | + |
930 | 940 | |
931 | 941 | |
932 | 942 | |
|
Collapse file
+10Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
10917 | 10917 | |
10918 | 10918 | |
10919 | 10919 | |
| 10920 | + |
| 10921 | + |
| 10922 | + |
| 10923 | + |
| 10924 | + |
| 10925 | + |
| 10926 | + |
| 10927 | + |
| 10928 | + |
| 10929 | + |
10920 | 10930 | |
10921 | 10931 | |
10922 | 10932 | |
|
Collapse file
deps/v8/src/debug/debug-interface.cc
Copy file name to clipboardExpand all lines: deps/v8/src/debug/debug-interface.cc-9Lines changed: 0 additions & 9 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1211 | 1211 | |
1212 | 1212 | |
1213 | 1213 | |
1214 | | - |
1215 | | - |
1216 | | - |
1217 | | - |
1218 | | - |
1219 | | - |
1220 | | - |
1221 | | - |
1222 | | - |
1223 | 1214 | |
1224 | 1215 | |
1225 | 1216 | |
|
Collapse file
deps/v8/src/debug/debug-interface.h
Copy file name to clipboardExpand all lines: deps/v8/src/debug/debug-interface.h-10Lines changed: 0 additions & 10 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
530 | 530 | |
531 | 531 | |
532 | 532 | |
533 | | - |
534 | | - |
535 | | - |
536 | | - |
537 | | - |
538 | | - |
539 | | - |
540 | | - |
541 | | - |
542 | | - |
543 | 533 | |
544 | 534 | |
545 | 535 | |
|
Collapse file
deps/v8/src/inspector/v8-debugger.cc
Copy file name to clipboardExpand all lines: deps/v8/src/inspector/v8-debugger.cc+3-2Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
8 | 8 | |
9 | 9 | |
10 | 10 | |
| 11 | + |
11 | 12 | |
12 | 13 | |
13 | 14 | |
| ||
38 | 39 | |
39 | 40 | |
40 | 41 | |
41 | | - |
| 42 | + |
42 | 43 | |
43 | 44 | |
44 | 45 | |
| ||
994 | 995 | |
995 | 996 | |
996 | 997 | |
997 | | - |
| 998 | + |
998 | 999 | |
999 | 1000 | |
1000 | 1001 | |
|
Collapse file
deps/v8/src/profiler/heap-profiler.cc
Copy file name to clipboardExpand all lines: deps/v8/src/profiler/heap-profiler.cc+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
247 | 247 | |
248 | 248 | |
249 | 249 | |
250 | | - |
| 250 | + |
251 | 251 | |
252 | 252 | |
253 | 253 | |
|
Collapse file
deps/v8/src/profiler/heap-profiler.h
Copy file name to clipboardExpand all lines: deps/v8/src/profiler/heap-profiler.h+2-3Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
30 | 30 | |
31 | 31 | |
32 | 32 | |
33 | | - |
| 33 | + |
34 | 34 | |
35 | 35 | |
36 | 36 | |
| ||
116 | 116 | |
117 | 117 | |
118 | 118 | |
119 | | - |
120 | | - |
| 119 | + |
121 | 120 | |
122 | 121 | |
123 | 122 | |
|
Collapse file
deps/v8/test/cctest/test-heap-profiler.cc
Copy file name to clipboardExpand all lines: deps/v8/test/cctest/test-heap-profiler.cc+62Lines changed: 62 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
30 | 30 | |
31 | 31 | |
32 | 32 | |
| 33 | + |
33 | 34 | |
34 | 35 | |
35 | 36 | |
| ||
4064 | 4065 | |
4065 | 4066 | |
4066 | 4067 | |
| 4068 | + |
| 4069 | + |
| 4070 | + |
| 4071 | + |
| 4072 | + |
| 4073 | + |
| 4074 | + |
| 4075 | + |
| 4076 | + |
| 4077 | + |
| 4078 | + |
| 4079 | + |
| 4080 | + |
| 4081 | + |
| 4082 | + |
| 4083 | + |
| 4084 | + |
| 4085 | + |
| 4086 | + |
| 4087 | + |
| 4088 | + |
| 4089 | + |
| 4090 | + |
| 4091 | + |
| 4092 | + |
| 4093 | + |
| 4094 | + |
| 4095 | + |
| 4096 | + |
| 4097 | + |
| 4098 | + |
| 4099 | + |
| 4100 | + |
| 4101 | + |
| 4102 | + |
| 4103 | + |
| 4104 | + |
| 4105 | + |
| 4106 | + |
| 4107 | + |
| 4108 | + |
| 4109 | + |
| 4110 | + |
| 4111 | + |
| 4112 | + |
| 4113 | + |
| 4114 | + |
| 4115 | + |
| 4116 | + |
| 4117 | + |
| 4118 | + |
| 4119 | + |
| 4120 | + |
| 4121 | + |
| 4122 | + |
| 4123 | + |
| 4124 | + |
| 4125 | + |
| 4126 | + |
| 4127 | + |
| 4128 | + |
4067 | 4129 | |
4068 | 4130 | |
4069 | 4131 | |
|
0 commit comments