Commit f34ee5c
deps: V8: backport 14ac02c from upstream
This is the V8 6.1 specific backport for Node 8.x.
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
Backport-PR-URL: #17659
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 ba73a67 commit f34ee5cCopy full SHA for f34ee5c
File tree
Expand file treeCollapse file tree
4 files changed
+46
-16
lines changedOpen diff view settings
Filter options
- deps/v8
- include
- src/profiler
- test/cctest
Expand file treeCollapse file tree
4 files changed
+46
-16
lines changedOpen diff view settings
Collapse file
deps/v8/include/v8-version.h
Copy file name to clipboardExpand all lines: deps/v8/include/v8-version.h+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
11 | 11 | |
12 | 12 | |
13 | 13 | |
14 | | - |
| 14 | + |
15 | 15 | |
16 | 16 | |
17 | 17 | |
|
Collapse file
deps/v8/src/profiler/profiler-listener.cc
Copy file name to clipboardExpand all lines: deps/v8/src/profiler/profiler-listener.cc+15-14Lines changed: 15 additions & 14 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
4 | 4 | |
5 | 5 | |
6 | 6 | |
| 7 | + |
7 | 8 | |
8 | 9 | |
9 | 10 | |
| ||
16 | 17 | |
17 | 18 | |
18 | 19 | |
19 | | - |
20 | | - |
21 | | - |
22 | | - |
23 | | - |
| 20 | + |
24 | 21 | |
25 | 22 | |
26 | 23 | |
| ||
286 | 283 | |
287 | 284 | |
288 | 285 | |
289 | | - |
290 | | - |
291 | | - |
292 | | - |
293 | | - |
| 286 | + |
| 287 | + |
| 288 | + |
| 289 | + |
| 290 | + |
| 291 | + |
294 | 292 | |
295 | 293 | |
296 | 294 | |
297 | 295 | |
298 | | - |
299 | | - |
300 | | - |
301 | | - |
| 296 | + |
| 297 | + |
| 298 | + |
| 299 | + |
| 300 | + |
| 301 | + |
| 302 | + |
302 | 303 | |
303 | 304 | |
304 | 305 | |
|
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 |
|---|---|---|
| ||
2192 | 2192 | |
2193 | 2193 | |
2194 | 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 | + |
| 2222 | + |
0 commit comments