Commit c24df23
[execution] Respect isolate stack limit in GetCentralStackView
A stack limit can be set for each v8::Isolate. The limit size can be
greater than the one specified with --stack-size. `Heap::CollectGarbage`
should not crash due to a `CHECK` on `Isolate::IsOnCentralStack()` with
an isolate stack limit.
Refs: nodejs/node#57114
Fixed: 400996806
Bug: 42202153
Change-Id: I80d0826fcd6a64261b8d745f8f47aa096bc83fb8
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6329659
Commit-Queue: Chengzhong Wu <[email protected]>
Reviewed-by: Jakob Kummerow <[email protected]>
Cr-Commit-Position: refs/heads/main@{#99228}1 parent 23b91ca commit c24df23
File tree
5 files changed
+92
-5
lines changed- src
- api
- execution
- test/cctest
5 files changed
+92
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10024 | 10024 | | |
10025 | 10025 | | |
10026 | 10026 | | |
| 10027 | + | |
10027 | 10028 | | |
10028 | 10029 | | |
10029 | 10030 | | |
| |||
10670 | 10671 | | |
10671 | 10672 | | |
10672 | 10673 | | |
| 10674 | + | |
10673 | 10675 | | |
10674 | 10676 | | |
10675 | 10677 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4205 | 4205 | | |
4206 | 4206 | | |
4207 | 4207 | | |
4208 | | - | |
| 4208 | + | |
4209 | 4209 | | |
4210 | | - | |
4211 | 4210 | | |
4212 | 4211 | | |
4213 | | - | |
| 4212 | + | |
4214 | 4213 | | |
4215 | | - | |
| 4214 | + | |
4216 | 4215 | | |
4217 | 4216 | | |
4218 | 4217 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1749 | 1749 | | |
1750 | 1750 | | |
1751 | 1751 | | |
| 1752 | + | |
| 1753 | + | |
| 1754 | + | |
1752 | 1755 | | |
1753 | 1756 | | |
1754 | 1757 | | |
| |||
2902 | 2905 | | |
2903 | 2906 | | |
2904 | 2907 | | |
| 2908 | + | |
| 2909 | + | |
| 2910 | + | |
2905 | 2911 | | |
2906 | 2912 | | |
2907 | 2913 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17331 | 17331 | | |
17332 | 17332 | | |
17333 | 17333 | | |
| 17334 | + | |
| 17335 | + | |
| 17336 | + | |
| 17337 | + | |
| 17338 | + | |
| 17339 | + | |
| 17340 | + | |
| 17341 | + | |
| 17342 | + | |
| 17343 | + | |
| 17344 | + | |
| 17345 | + | |
| 17346 | + | |
| 17347 | + | |
| 17348 | + | |
| 17349 | + | |
| 17350 | + | |
| 17351 | + | |
| 17352 | + | |
| 17353 | + | |
| 17354 | + | |
| 17355 | + | |
| 17356 | + | |
| 17357 | + | |
| 17358 | + | |
| 17359 | + | |
| 17360 | + | |
| 17361 | + | |
| 17362 | + | |
| 17363 | + | |
| 17364 | + | |
| 17365 | + | |
| 17366 | + | |
| 17367 | + | |
| 17368 | + | |
| 17369 | + | |
| 17370 | + | |
| 17371 | + | |
| 17372 | + | |
| 17373 | + | |
| 17374 | + | |
| 17375 | + | |
| 17376 | + | |
| 17377 | + | |
| 17378 | + | |
| 17379 | + | |
| 17380 | + | |
| 17381 | + | |
| 17382 | + | |
| 17383 | + | |
| 17384 | + | |
| 17385 | + | |
| 17386 | + | |
| 17387 | + | |
| 17388 | + | |
| 17389 | + | |
| 17390 | + | |
| 17391 | + | |
| 17392 | + | |
| 17393 | + | |
| 17394 | + | |
| 17395 | + | |
| 17396 | + | |
| 17397 | + | |
| 17398 | + | |
| 17399 | + | |
| 17400 | + | |
| 17401 | + | |
| 17402 | + | |
| 17403 | + | |
| 17404 | + | |
| 17405 | + | |
| 17406 | + | |
| 17407 | + | |
| 17408 | + | |
| 17409 | + | |
| 17410 | + | |
| 17411 | + | |
| 17412 | + | |
| 17413 | + | |
17334 | 17414 | | |
17335 | 17415 | | |
17336 | 17416 | | |
| |||
0 commit comments