Commit 592df39
Allocator-local locking for JIT code allocators
Summary: Remove allocator-side `ThreadedCompileSerialize` and make the concrete allocator mutexes unconditional, so `CodeAllocatorCinder` and `MultipleSectionCodeAllocator` rely on their local mutexes for allocator state access on both GIL and FT builds.
Reviewed By: DinoV
Differential Revision: D97125443
fbshipit-source-id: 78b3ef4e4897c3625bf6cecfc21640d9de8ce9a21 parent 26199f0 commit 592df39
2 files changed
Lines changed: 1 addition & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
136 | 135 | | |
137 | 136 | | |
138 | 137 | | |
139 | | - | |
140 | | - | |
141 | 138 | | |
142 | | - | |
143 | 139 | | |
144 | 140 | | |
145 | 141 | | |
| |||
197 | 193 | | |
198 | 194 | | |
199 | 195 | | |
200 | | - | |
201 | 196 | | |
202 | | - | |
203 | 197 | | |
204 | 198 | | |
205 | 199 | | |
| |||
254 | 248 | | |
255 | 249 | | |
256 | 250 | | |
257 | | - | |
258 | | - | |
259 | 251 | | |
260 | | - | |
261 | 252 | | |
262 | 253 | | |
263 | 254 | | |
| |||
335 | 326 | | |
336 | 327 | | |
337 | 328 | | |
338 | | - | |
| 329 | + | |
339 | 330 | | |
340 | 331 | | |
341 | | - | |
342 | | - | |
343 | 332 | | |
344 | | - | |
345 | 333 | | |
346 | 334 | | |
347 | 335 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
73 | 72 | | |
74 | 73 | | |
75 | | - | |
76 | 74 | | |
77 | 75 | | |
78 | 76 | | |
| |||
102 | 100 | | |
103 | 101 | | |
104 | 102 | | |
105 | | - | |
106 | 103 | | |
107 | 104 | | |
108 | | - | |
109 | 105 | | |
110 | 106 | | |
111 | 107 | | |
| |||
0 commit comments