Commit 5dd670b
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 11ebb04 commit 5dd670bCopy full SHA for 5dd670b
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 |
|---|---|---|
| ||
443 | 443 | |
444 | 444 | |
445 | 445 | |
| 446 | + |
| 447 | + |
| 448 | + |
446 | 449 | |
447 | 450 | |
448 | 451 | |
|
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 | |
| ||
1789 | 1795 | |
1790 | 1796 | |
1791 | 1797 | |
1792 | | - |
| 1798 | + |
| 1799 | + |
| 1800 | + |
| 1801 | + |
1793 | 1802 | |
1794 | 1803 | |
1795 | 1804 | |
|
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 | |
| ||
342 | 345 | |
343 | 346 | |
344 | 347 | |
| 348 | + |
| 349 | + |
| 350 | + |
| 351 | + |
| 352 | + |
| 353 | + |
| 354 | + |
| 355 | + |
| 356 | + |
| 357 | + |
| 358 | + |
| 359 | + |
| 360 | + |
| 361 | + |
345 | 362 | |
346 | 363 | |
347 | 364 | |
|
Collapse file
+8Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
128 | 128 | |
129 | 129 | |
130 | 130 | |
| 131 | + |
| 132 | + |
| 133 | + |
| 134 | + |
| 135 | + |
| 136 | + |
| 137 | + |
131 | 138 | |
| 139 | + |
132 | 140 | |
133 | 141 | |
134 | 142 | |
|
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 |
|---|---|---|
| ||
355 | 355 | |
356 | 356 | |
357 | 357 | |
| 358 | + |
| 359 | + |
| 360 | + |
358 | 361 | |
359 | 362 | |
360 | 363 | |
|
0 commit comments