Commit eb8a049
src: initial enablement of IsolateGroups
This lays the initial groundwork for enabling the
use of IsolateGroups.
Every isolate in V8 is created within a group. When pointer
compression is enabled, all isolates within a single group
are limited to a 4 GB shared pointer cage. By default, all
isolates in the process share the same group, which means
that when running with pointer compression, the entire
process would be limited to a single 4 GB shared pointer
cage. But, we can create as many IsolateGroups as we want,
limited only by the amount of virtual memory available on
the machine.
PR-URL: #60254
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>1 parent 463c645 commit eb8a049Copy full SHA for eb8a049
File tree
Expand file treeCollapse file tree
8 files changed
+62
-4
lines changedOpen diff view settings
Filter options
- src
- api
- test/parallel
- tools/v8_gypfiles
Expand file treeCollapse file tree
8 files changed
+62
-4
lines changedOpen diff view settings
Collapse file
+3Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
446 | 446 | |
447 | 447 | |
448 | 448 | |
| 449 | + |
| 450 | + |
| 451 | + |
449 | 452 | |
450 | 453 | |
451 | 454 | |
|
Collapse file
+10-1Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
646 | 646 | |
647 | 647 | |
648 | 648 | |
| 649 | + |
| 650 | + |
| 651 | + |
| 652 | + |
| 653 | + |
| 654 | + |
649 | 655 | |
650 | 656 | |
651 | 657 | |
| ||
1731 | 1737 | |
1732 | 1738 | |
1733 | 1739 | |
1734 | | - |
| 1740 | + |
| 1741 | + |
| 1742 | + |
| 1743 | + |
1735 | 1744 | |
1736 | 1745 | |
1737 | 1746 | |
|
Collapse file
+2-1Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | 3 | |
| 4 | + |
4 | 5 | |
5 | 6 | |
6 | 7 | |
| ||
127 | 128 | |
128 | 129 | |
129 | 130 | |
130 | | - |
| 131 | + |
131 | 132 | |
132 | 133 | |
133 | 134 | |
|
Collapse file
+14-1Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
37 | 37 | |
38 | 38 | |
39 | 39 | |
| 40 | + |
40 | 41 | |
41 | 42 | |
42 | 43 | |
| ||
304 | 305 | |
305 | 306 | |
306 | 307 | |
| 308 | + |
| 309 | + |
| 310 | + |
| 311 | + |
| 312 | + |
| 313 | + |
| 314 | + |
| 315 | + |
| 316 | + |
| 317 | + |
| 318 | + |
307 | 319 | |
308 | 320 | |
309 | 321 | |
310 | 322 | |
311 | 323 | |
312 | 324 | |
313 | 325 | |
314 | | - |
| 326 | + |
| 327 | + |
315 | 328 | |
316 | 329 | |
317 | 330 | |
|
Collapse file
+17Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
56 | 56 | |
57 | 57 | |
58 | 58 | |
| 59 | + |
| 60 | + |
| 61 | + |
59 | 62 | |
60 | 63 | |
61 | 64 | |
| ||
341 | 344 | |
342 | 345 | |
343 | 346 | |
| 347 | + |
| 348 | + |
| 349 | + |
| 350 | + |
| 351 | + |
| 352 | + |
| 353 | + |
| 354 | + |
| 355 | + |
| 356 | + |
| 357 | + |
| 358 | + |
| 359 | + |
| 360 | + |
344 | 361 | |
345 | 362 | |
346 | 363 | |
|
Collapse file
+8Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
127 | 127 | |
128 | 128 | |
129 | 129 | |
| 130 | + |
| 131 | + |
| 132 | + |
| 133 | + |
| 134 | + |
| 135 | + |
| 136 | + |
130 | 137 | |
| 138 | + |
131 | 139 | |
132 | 140 | |
133 | 141 | |
|
Collapse file
test/parallel/test-max-old-space-size-percentage.js
Copy file name to clipboardExpand all lines: test/parallel/test-max-old-space-size-percentage.js+5-1Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
122 | 122 | |
123 | 123 | |
124 | 124 | |
125 | | - |
| 125 | + |
| 126 | + |
| 127 | + |
| 128 | + |
| 129 | + |
126 | 130 | |
127 | 131 | |
128 | 132 | |
|
Collapse file
tools/v8_gypfiles/features.gypi
Copy file name to clipboardExpand all lines: tools/v8_gypfiles/features.gypi+3Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
367 | 367 | |
368 | 368 | |
369 | 369 | |
| 370 | + |
| 371 | + |
| 372 | + |
370 | 373 | |
371 | 374 | |
372 | 375 | |
|
0 commit comments