Commit 49d23a3
deps: V8: backport 14ac02c from upstream
Original commit message:
[cpu-profiler] Clear code entries when no observers are present.
Performed manual testing as well by making 20 CPU profile recordings of
loading http://meduza.io page. Without the patch the page renderer memory size
grows beyond 300MB. With the patch it remains below 200MB.
BUG=v8:6623
Change-Id: Ifce541b84bb2aaaa5175520f8dd49dbc0cb5dd20
Reviewed-on: https://chromium-review.googlesource.com/798020
Commit-Queue: Alexei Filippov <alph@chromium.org>
Reviewed-by: Yang Guo <yangguo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#49914}
Ref: v8/v8@14ac02c
PR-URL: #17512
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>1 parent f5a1e6c commit 49d23a3Copy full SHA for 49d23a3
File tree
Expand file treeCollapse file tree
4 files changed
+45
-16
lines changedOpen diff view settings
Filter options
- deps/v8
- src/profiler
- test/cctest
Expand file treeCollapse file tree
4 files changed
+45
-16
lines changedOpen diff view settings
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
27 | 27 | |
28 | 28 | |
29 | 29 | |
30 | | - |
| 30 | + |
31 | 31 | |
32 | 32 | |
33 | 33 | |
|
Collapse file
deps/v8/src/profiler/profiler-listener.cc
Copy file name to clipboardExpand all lines: deps/v8/src/profiler/profiler-listener.cc+14-14Lines changed: 14 additions & 14 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
16 | 16 | |
17 | 17 | |
18 | 18 | |
19 | | - |
20 | | - |
21 | | - |
22 | | - |
23 | | - |
| 19 | + |
24 | 20 | |
25 | 21 | |
26 | 22 | |
| ||
286 | 282 | |
287 | 283 | |
288 | 284 | |
289 | | - |
290 | | - |
291 | | - |
292 | | - |
293 | | - |
| 285 | + |
| 286 | + |
| 287 | + |
| 288 | + |
| 289 | + |
| 290 | + |
294 | 291 | |
295 | 292 | |
296 | 293 | |
297 | 294 | |
298 | | - |
299 | | - |
300 | | - |
301 | | - |
| 295 | + |
| 296 | + |
| 297 | + |
| 298 | + |
| 299 | + |
| 300 | + |
| 301 | + |
302 | 302 | |
303 | 303 | |
304 | 304 | |
|
Collapse file
deps/v8/src/profiler/profiler-listener.h
Copy file name to clipboardExpand all lines: deps/v8/src/profiler/profiler-listener.h+2-1Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
74 | 74 | |
75 | 75 | |
76 | 76 | |
| 77 | + |
77 | 78 | |
78 | 79 | |
79 | 80 | |
| ||
87 | 88 | |
88 | 89 | |
89 | 90 | |
90 | | - |
| 91 | + |
91 | 92 | |
92 | 93 | |
93 | 94 | |
|
Collapse file
deps/v8/test/cctest/test-cpu-profiler.cc
Copy file name to clipboardExpand all lines: deps/v8/test/cctest/test-cpu-profiler.cc+28Lines changed: 28 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2191 | 2191 | |
2192 | 2192 | |
2193 | 2193 | |
| 2194 | + |
| 2195 | + |
| 2196 | + |
| 2197 | + |
| 2198 | + |
| 2199 | + |
| 2200 | + |
| 2201 | + |
| 2202 | + |
| 2203 | + |
| 2204 | + |
| 2205 | + |
| 2206 | + |
| 2207 | + |
| 2208 | + |
| 2209 | + |
| 2210 | + |
| 2211 | + |
| 2212 | + |
| 2213 | + |
| 2214 | + |
| 2215 | + |
| 2216 | + |
| 2217 | + |
| 2218 | + |
| 2219 | + |
| 2220 | + |
| 2221 | + |
0 commit comments