Commit 845f76f
committed
re-enable scheduler thread local collections
This was a space leak. These local collections appear
to have been disabled as part of the entanglement
management effort a few years ago (specifically, in
commit 4b4d1ce, which was then carried through to commit
51c658c more recently during the PCall implementation
effort).
Scheduler threads live at hierarchical heap depth 1, with
the "global" heap immediately above as a shared ancestor.
Interpreting this whole system as a disentangled heap
hierarchy, we can perform scheduler-thread-local GC in
the same way we would a leaf collection.1 parent 7578624 commit 845f76f
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1208 | 1208 | | |
1209 | 1209 | | |
1210 | 1210 | | |
1211 | | - | |
| 1211 | + | |
1212 | 1212 | | |
1213 | 1213 | | |
1214 | 1214 | | |
| |||
1230 | 1230 | | |
1231 | 1231 | | |
1232 | 1232 | | |
1233 | | - | |
| 1233 | + | |
| 1234 | + | |
1234 | 1235 | | |
1235 | 1236 | | |
1236 | 1237 | | |
| |||
0 commit comments