Commit 48f31bd
deps: V8: backport 20 CPU profiler commits from upstream
[cpu-profiler] Fix bugs and add tests for JITLineInfoTable
https://chromium.googlesource.com/v8/v8/+/4feb5ce7fd5ef8c933f3f5dff2eca1173f85c1e9
[cpu-profiler] Fix incorrect line number calculation.
https://chromium.googlesource.com/v8/v8/+/ddb2856f39632f9e9f623d3cdb4600e636172031
[cpu-profiler] Use std::unordered_map for hashmaps.
https://chromium.googlesource.com/v8/v8/+/35985ce6abc80b85264fe3b87b246fed5f1806e6
[cpu-profiler] Do not store CodeEntries between profiling sessions.
https://chromium.googlesource.com/v8/v8.git/+/8ec48b2117b8092c4956f1ee11a0c85bec3ba1f8
[cpu-profiler] Remove name_prefix field from CodeEntry
https://chromium.googlesource.com/v8/v8.git/+/6f72af25fe43218b60c68129073ddcddb631566e
[cpu-profiler] Extract rare used fields of CodeEntry to an optional object.
https://chromium.googlesource.com/v8/v8.git/+/fcc1ebb55aab38013855834f556f6e874e0eb8b3
[profiler] Refactoring: decouple StringsStorage from Heap object.
https://chromium.googlesource.com/v8/v8/+/a31320f59c911a277566d6c2fa0b0f2ac83e0748
[cpu-profiler] Add a HandleScope to limit memory consumption.
https://chromium.googlesource.com/v8/v8.git/+/3e9f8a4f635e2d946651d6a4df81378266f32dc9
[cpu-profiler] Lazily create CPU profiler.
https://chromium.googlesource.com/v8/v8/+/1426ea1d6d45be0b4d9476bdb5bf3f27cfe578a0
[cpu-profiler] turn several std::map's into unordered_map's.
https://chromium.googlesource.com/v8/v8/+/3ed5dfb8a3cbc7aa0017bd01c2fdd6227485b8ad
[cpu-profiler] Eagerly delete not used CodeEntry'es
https://chromium.googlesource.com/v8/v8.git/+/c6c28f7a412a88df12055e953630a9e93cc64d49
[cpu-profiler] Move bailout reason into rare_info struct
https://chromium.googlesource.com/v8/v8.git/+/29ea4d1ef5360e71c61ecf8db6a5a0a0c3391fd1
[cpu-profiler] Save space in the SourcePositionTable by using a vector.
https://chromium.googlesource.com/v8/v8.git/+/1cb19f0e0a93adbac8c11bc906f951bd8098722d
[cpu-profiler] Only store deopt inline frames for functions that need it
https://chromium.googlesource.com/v8/v8.git/+/0bfcbdd4726920755e51dab28c18ab93e050819b
[cpu-profiler] Add a new profiling mode with a more detailed call tree.
https://chromium.googlesource.com/v8/v8.git/+/ecae80cdb350dde1e654c531b56f5b6c44dc8c77
[cpu-profiler] Reuse free slots in code_entries_
https://chromium.googlesource.com/v8/v8.git/+/3e1126bf15e62c433c4e9cb21316d182f691c63a
[cpu-profiler] Use instruction start as the key for the CodeMap
https://chromium.googlesource.com/v8/v8.git/+/ba752ea4c50713dff1e94f45a79db3ba968a8d66
[cpu-profiler] Add flag to always generate accurate line info.
https://chromium.googlesource.com/v8/v8/+/56baf56790de439b3f69e887e94beb3b301ed77c
[cpu-profiler] Turn on detailed line info for optimized code
https://chromium.googlesource.com/v8/v8/+/84894ce6d2af7feb9e1f5574409355120887326c
[cpu-profiler] Separate the flags for generating extra line information
https://chromium.googlesource.com/v8/v8/+/30ff6719db441cc7ef220d449970cc169067e256
Backport-PR-URL: #21558
PR-URL: #21558
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Yang Guo <yangguo@chromium.org>
Reviewed-By: Rod Vagg <rod@vagg.org>1 parent 534bc82 commit 48f31bdCopy full SHA for 48f31bd
File tree
Expand file treeCollapse file tree
29 files changed
+852
-562
lines changedOpen diff view settings
Filter options
- deps/v8
- include
- src
- heap
- profiler
- snapshot
- test/cctest
Expand file treeCollapse file tree
29 files changed
+852
-562
lines changedOpen diff view settings
Collapse file
deps/v8/include/v8-profiler.h
Copy file name to clipboardExpand all lines: deps/v8/include/v8-profiler.h+17Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
273 | 273 | |
274 | 274 | |
275 | 275 | |
| 276 | + |
| 277 | + |
| 278 | + |
| 279 | + |
| 280 | + |
| 281 | + |
| 282 | + |
| 283 | + |
| 284 | + |
| 285 | + |
276 | 286 | |
277 | 287 | |
278 | 288 | |
| ||
309 | 319 | |
310 | 320 | |
311 | 321 | |
| 322 | + |
| 323 | + |
| 324 | + |
| 325 | + |
| 326 | + |
| 327 | + |
| 328 | + |
312 | 329 | |
313 | 330 | |
314 | 331 | |
|
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
+9-12Lines changed: 9 additions & 12 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
8418 | 8418 | |
8419 | 8419 | |
8420 | 8420 | |
8421 | | - |
| 8421 | + |
8422 | 8422 | |
8423 | 8423 | |
8424 | 8424 | |
| ||
10138 | 10138 | |
10139 | 10139 | |
10140 | 10140 | |
10141 | | - |
10142 | | - |
10143 | | - |
10144 | | - |
10145 | | - |
10146 | | - |
10147 | | - |
10148 | | - |
10149 | | - |
| 10141 | + |
10150 | 10142 | |
10151 | 10143 | |
10152 | 10144 | |
| ||
10237 | 10229 | |
10238 | 10230 | |
10239 | 10231 | |
10240 | | - |
| 10232 | + |
10241 | 10233 | |
10242 | 10234 | |
10243 | 10235 | |
| ||
10370 | 10362 | |
10371 | 10363 | |
10372 | 10364 | |
10373 | | - |
| 10365 | + |
10374 | 10366 | |
10375 | 10367 | |
| 10368 | + |
| 10369 | + |
| 10370 | + |
| 10371 | + |
| 10372 | + |
10376 | 10373 | |
10377 | 10374 | |
10378 | 10375 | |
|
Collapse file
+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
101 | 101 | |
102 | 102 | |
103 | 103 | |
104 | | - |
| 104 | + |
105 | 105 | |
106 | 106 | |
107 | 107 | |
| ||
163 | 163 | |
164 | 164 | |
165 | 165 | |
166 | | - |
| 166 | + |
167 | 167 | |
168 | 168 | |
169 | 169 | |
|
Collapse file
deps/v8/src/compilation-info.cc
Copy file name to clipboardExpand all lines: deps/v8/src/compilation-info.cc+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
51 | 51 | |
52 | 52 | |
53 | 53 | |
54 | | - |
| 54 | + |
55 | 55 | |
56 | 56 | |
57 | 57 | |
|
Collapse file
deps/v8/src/flag-definitions.h
Copy file name to clipboardExpand all lines: deps/v8/src/flag-definitions.h+3Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1082 | 1082 | |
1083 | 1083 | |
1084 | 1084 | |
| 1085 | + |
| 1086 | + |
| 1087 | + |
1085 | 1088 | |
1086 | 1089 | |
1087 | 1090 | |
|
Collapse file
deps/v8/src/heap/mark-compact.cc
Copy file name to clipboardExpand all lines: deps/v8/src/heap/mark-compact.cc+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1484 | 1484 | |
1485 | 1485 | |
1486 | 1486 | |
1487 | | - |
| 1487 | + |
1488 | 1488 | |
1489 | 1489 | |
1490 | 1490 | |
|
Collapse file
+11-1Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2697 | 2697 | |
2698 | 2698 | |
2699 | 2699 | |
2700 | | - |
2701 | 2700 | |
2702 | 2701 | |
2703 | 2702 | |
| ||
2970 | 2969 | |
2971 | 2970 | |
2972 | 2971 | |
| 2972 | + |
| 2973 | + |
| 2974 | + |
| 2975 | + |
2973 | 2976 | |
2974 | 2977 | |
2975 | 2978 | |
| ||
3694 | 3697 | |
3695 | 3698 | |
3696 | 3699 | |
| 3700 | + |
| 3701 | + |
| 3702 | + |
| 3703 | + |
| 3704 | + |
| 3705 | + |
| 3706 | + |
3697 | 3707 | |
3698 | 3708 | |
3699 | 3709 | |
|
Collapse file
+3-1Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1019 | 1019 | |
1020 | 1020 | |
1021 | 1021 | |
| 1022 | + |
| 1023 | + |
1022 | 1024 | |
1023 | 1025 | |
1024 | 1026 | |
| ||
1449 | 1451 | |
1450 | 1452 | |
1451 | 1453 | |
1452 | | - |
| 1454 | + |
1453 | 1455 | |
1454 | 1456 | |
1455 | 1457 | |
|
Collapse file
+11-37Lines changed: 11 additions & 37 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
22 | 22 | |
23 | 23 | |
24 | 24 | |
25 | | - |
26 | 25 | |
27 | 26 | |
28 | 27 | |
| ||
218 | 217 | |
219 | 218 | |
220 | 219 | |
221 | | - |
| 220 | + |
222 | 221 | |
223 | 222 | |
224 | 223 | |
| ||
287 | 286 | |
288 | 287 | |
289 | 288 | |
290 | | - |
| 289 | + |
291 | 290 | |
292 | 291 | |
293 | 292 | |
| ||
393 | 392 | |
394 | 393 | |
395 | 394 | |
396 | | - |
| 395 | + |
397 | 396 | |
398 | 397 | |
399 | | - |
400 | | - |
| 398 | + |
401 | 399 | |
402 | 400 | |
403 | 401 | |
| ||
419 | 417 | |
420 | 418 | |
421 | 419 | |
422 | | - |
| 420 | + |
423 | 421 | |
424 | 422 | |
425 | 423 | |
| ||
460 | 458 | |
461 | 459 | |
462 | 460 | |
463 | | - |
| 461 | + |
464 | 462 | |
465 | 463 | |
466 | 464 | |
467 | 465 | |
468 | | - |
| 466 | + |
469 | 467 | |
470 | | - |
471 | | - |
472 | | - |
473 | | - |
474 | | - |
475 | | - |
| 468 | + |
476 | 469 | |
477 | 470 | |
478 | 471 | |
| ||
739 | 732 | |
740 | 733 | |
741 | 734 | |
742 | | - |
743 | 735 | |
744 | 736 | |
745 | 737 | |
| ||
1297 | 1289 | |
1298 | 1290 | |
1299 | 1291 | |
1300 | | - |
| 1292 | + |
1301 | 1293 | |
1302 | | - |
| 1294 | + |
| 1295 | + |
1303 | 1296 | |
1304 | 1297 | |
1305 | 1298 | |
| ||
1876 | 1869 | |
1877 | 1870 | |
1878 | 1871 | |
1879 | | - |
1880 | | - |
1881 | 1872 | |
1882 | 1873 | |
1883 | 1874 | |
| ||
1905 | 1896 | |
1906 | 1897 | |
1907 | 1898 | |
1908 | | - |
1909 | | - |
1910 | | - |
1911 | | - |
1912 | | - |
1913 | | - |
1914 | | - |
1915 | | - |
1916 | | - |
1917 | | - |
1918 | | - |
1919 | | - |
1920 | | - |
1921 | 1899 | |
1922 | 1900 | |
1923 | 1901 | |
| ||
1961 | 1939 | |
1962 | 1940 | |
1963 | 1941 | |
1964 | | - |
1965 | | - |
1966 | | - |
1967 | | - |
1968 | 1942 | |
1969 | 1943 | |
1970 | 1944 | |
|
0 commit comments