Commit ef9dd60
src: use uv_async_t for WeakRefs
Schedule a task on the main event loop, similar to what the HTML
spec recommends for browsers.
Alternative to #30198
PR-URL: #30616
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>1 parent c5f22cb commit ef9dd60Copy full SHA for ef9dd60
File tree
Expand file treeCollapse file tree
5 files changed
+59
-6
lines changedOpen diff view settings
Filter options
- src
- test/parallel
Expand file treeCollapse file tree
5 files changed
+59
-6
lines changedOpen diff view settings
Collapse file
+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1123 | 1123 | |
1124 | 1124 | |
1125 | 1125 | |
| 1126 | + |
1126 | 1127 | |
1127 | 1128 | |
1128 | 1129 | |
|
Collapse file
+26-5Lines changed: 26 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
457 | 457 | |
458 | 458 | |
459 | 459 | |
| 460 | + |
| 461 | + |
| 462 | + |
| 463 | + |
| 464 | + |
| 465 | + |
| 466 | + |
| 467 | + |
460 | 468 | |
461 | 469 | |
| 470 | + |
462 | 471 | |
463 | 472 | |
464 | 473 | |
| ||
521 | 530 | |
522 | 531 | |
523 | 532 | |
| 533 | + |
| 534 | + |
| 535 | + |
| 536 | + |
524 | 537 | |
525 | 538 | |
526 | 539 | |
| ||
1052 | 1065 | |
1053 | 1066 | |
1054 | 1067 | |
1055 | | - |
| 1068 | + |
1056 | 1069 | |
| 1070 | + |
1057 | 1071 | |
1058 | | - |
| 1072 | + |
| 1073 | + |
| 1074 | + |
| 1075 | + |
| 1076 | + |
| 1077 | + |
1059 | 1078 | |
1060 | 1079 | |
1061 | 1080 | |
1062 | 1081 | |
1063 | | - |
| 1082 | + |
| 1083 | + |
| 1084 | + |
| 1085 | + |
| 1086 | + |
1064 | 1087 | |
1065 | 1088 | |
1066 | | - |
1067 | | - |
1068 | 1089 | |
1069 | 1090 | |
1070 | 1091 | |
|
Collapse file
+3-1Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1130 | 1130 | |
1131 | 1131 | |
1132 | 1132 | |
1133 | | - |
| 1133 | + |
| 1134 | + |
1134 | 1135 | |
1135 | 1136 | |
1136 | 1137 | |
| ||
1276 | 1277 | |
1277 | 1278 | |
1278 | 1279 | |
| 1280 | + |
1279 | 1281 | |
1280 | 1282 | |
1281 | 1283 | |
|
Collapse file
test/parallel/test-finalization-group-error.js
Copy file name to clipboardExpand all lines: test/parallel/test-finalization-group-error.js+4Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
18 | 18 | |
19 | 19 | |
20 | 20 | |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
21 | 25 | |
22 | 26 | |
23 | 27 | |
Collapse file
test/parallel/test-finalization-group-regular-gc.js
Copy file name to clipboard+25Lines changed: 25 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
0 commit comments