| 269 | } |
| 270 | |
| 271 | static void |
| 272 | zone_force_lock(malloc_zone_t *zone) { |
| 273 | if (isthreaded) { |
| 274 | /* |
| 275 | * See the note in zone_force_unlock, below, to see why we need |
| 276 | * this. |
| 277 | */ |
| 278 | assert(zone_force_lock_pid == -1); |
| 279 | zone_force_lock_pid = getpid(); |
| 280 | jemalloc_prefork(); |
| 281 | } |
| 282 | } |
| 283 | |
| 284 | static void |
| 285 | zone_force_unlock(malloc_zone_t *zone) { |
nothing calls this directly
no test coverage detected