Commit 7564f51
committed
Move call to
Foreign thread adoption can cause additional calls to
`jl_init_thread_heap()` with a `ptls` that has `tid` 0. Thus we cannot
use that condition to ensure that `initialize_collection` is called only
once. Move the call back to `init.c`.initialize_collection back to initialization1 parent 76737d3 commit 7564f51
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
806 | 806 | | |
807 | 807 | | |
808 | 808 | | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
809 | 812 | | |
810 | 813 | | |
811 | 814 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | 269 | | |
273 | 270 | | |
274 | 271 | | |
| |||
0 commit comments