Skip to content

Commit

Permalink
drop require lock when not needed during loading to allow parallel pr…
Browse files Browse the repository at this point in the history
…ecompile loading (JuliaLang#56291)

Fixes `_require_search_from_serialized` to first acquire all
start_loading locks (using a deadlock-free batch-locking algorithm)
before doing stalechecks and the rest, so that all the global
computations happen behind the require_lock, then the rest can happen
behind module-specific locks, then (as before) extensions can be loaded
in parallel eventually after `require` returns.
  • Loading branch information
vtjnash authored and kpamnany committed Nov 4, 2024
1 parent fc4ae84 commit 99a3493
Showing 1 changed file with 217 additions and 125 deletions.
Loading

0 comments on commit 99a3493

Please sign in to comment.