-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multithreaded evaluator #10938
base: master
Are you sure you want to change the base?
Multithreaded evaluator #10938
Commits on May 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6760b39 - Browse repository at this point
Copy the full SHA 6760b39View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3854d1 - Browse repository at this point
Copy the full SHA d3854d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 945cd69 - Browse repository at this point
Copy the full SHA 945cd69View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f3b1a3 - Browse repository at this point
Copy the full SHA 5f3b1a3View commit details
Commits on May 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9ddca98 - Browse repository at this point
Copy the full SHA 9ddca98View commit details
Commits on May 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d133aca - Browse repository at this point
Copy the full SHA d133acaView commit details
Commits on May 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1a55754 - Browse repository at this point
Copy the full SHA 1a55754View commit details
Commits on May 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d623dfb - Browse repository at this point
Copy the full SHA d623dfbView commit details
Commits on May 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a9e3594 - Browse repository at this point
Copy the full SHA a9e3594View commit details -
Configuration menu - View commit details
-
Copy full SHA for b63a132 - Browse repository at this point
Copy the full SHA b63a132View commit details -
Configuration menu - View commit details
-
Copy full SHA for 76f822f - Browse repository at this point
Copy the full SHA 76f822fView commit details
Commits on May 31, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6a85af7 - Browse repository at this point
Copy the full SHA 6a85af7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6eafc52 - Browse repository at this point
Copy the full SHA 6eafc52View commit details -
Configuration menu - View commit details
-
Copy full SHA for f018a55 - Browse repository at this point
Copy the full SHA f018a55View commit details
Commits on Jun 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ec8593d - Browse repository at this point
Copy the full SHA ec8593dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 105dea5 - Browse repository at this point
Copy the full SHA 105dea5View commit details
Commits on Jun 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 27fb652 - Browse repository at this point
Copy the full SHA 27fb652View commit details
Commits on Jun 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d990974 - Browse repository at this point
Copy the full SHA d990974View commit details -
Configuration menu - View commit details
-
Copy full SHA for eba54f5 - Browse repository at this point
Copy the full SHA eba54f5View commit details
Commits on Jun 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a25a5b7 - Browse repository at this point
Copy the full SHA a25a5b7View commit details -
EvalState: Add importResolutionCache
This is a mapping from paths to "resolved" paths (i.e. with `default.nix` added, if appropriate). `fileParseCache` and `fileEvalCache` are now keyed on the resolved path *only*.
Configuration menu - View commit details
-
Copy full SHA for ca11328 - Browse repository at this point
Copy the full SHA ca11328View commit details -
Configuration menu - View commit details
-
Copy full SHA for c2c01d8 - Browse repository at this point
Copy the full SHA c2c01d8View commit details -
Ensure that files are parsed/evaluated only once
Previously, the optimistic concurrency approach in `evalFile()` meant that a `nix search nixpkgs ^` would do hundreds of duplicated parsings/evaluations. Now, we reuse the thunk locking mechanism to ensure it's done only once.
Configuration menu - View commit details
-
Copy full SHA for 9b88021 - Browse repository at this point
Copy the full SHA 9b88021View commit details -
Configuration menu - View commit details
-
Copy full SHA for 708e0e8 - Browse repository at this point
Copy the full SHA 708e0e8View commit details -
SymbolStr: Remove std::string conversion
This refactoring allows the symbol table to be stored as something other than std::strings.
Configuration menu - View commit details
-
Copy full SHA for cc38822 - Browse repository at this point
Copy the full SHA cc38822View commit details -
Use a contiguous arena for storing symbols
This allows symbol IDs to be offsets into an arena whose base offset never moves, and can therefore be dereferenced without any locks.
Configuration menu - View commit details
-
Copy full SHA for 424e01e - Browse repository at this point
Copy the full SHA 424e01eView commit details -
Executor: Randomize the work queue
This makes it less likely that we concurrently execute tasks that would block on a common subtask, e.g. evaluating `libfoo` and `libfoo_variant` are likely to have common dependencies.
Configuration menu - View commit details
-
Copy full SHA for c663076 - Browse repository at this point
Copy the full SHA c663076View commit details -
Configuration menu - View commit details
-
Copy full SHA for adcc351 - Browse repository at this point
Copy the full SHA adcc351View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3988faf - Browse repository at this point
Copy the full SHA 3988fafView commit details -
Configuration menu - View commit details
-
Copy full SHA for a70ec9e - Browse repository at this point
Copy the full SHA a70ec9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0cd29fe - Browse repository at this point
Copy the full SHA 0cd29feView commit details
Commits on Jun 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0c87ead - Browse repository at this point
Copy the full SHA 0c87eadView commit details -
Configuration menu - View commit details
-
Copy full SHA for 33f50ae - Browse repository at this point
Copy the full SHA 33f50aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e87cf4 - Browse repository at this point
Copy the full SHA 5e87cf4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 400a670 - Browse repository at this point
Copy the full SHA 400a670View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c6eb1a - Browse repository at this point
Copy the full SHA 5c6eb1aView commit details
Commits on Jun 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3353f9a - Browse repository at this point
Copy the full SHA 3353f9aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b814c4 - Browse repository at this point
Copy the full SHA 9b814c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for fd5c32b - Browse repository at this point
Copy the full SHA fd5c32bView commit details
Commits on Jun 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1bdf907 - Browse repository at this point
Copy the full SHA 1bdf907View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3cc1319 - Browse repository at this point
Copy the full SHA 3cc1319View commit details
Commits on Jun 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f6cbd6a - Browse repository at this point
Copy the full SHA f6cbd6aView commit details
Commits on Jun 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6103246 - Browse repository at this point
Copy the full SHA 6103246View commit details -
Configuration menu - View commit details
-
Copy full SHA for 576a03e - Browse repository at this point
Copy the full SHA 576a03eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 52bd994 - Browse repository at this point
Copy the full SHA 52bd994View commit details -
Configuration menu - View commit details
-
Copy full SHA for b713591 - Browse repository at this point
Copy the full SHA b713591View commit details
Commits on Jul 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for fcbdc9f - Browse repository at this point
Copy the full SHA fcbdc9fView commit details
Commits on Jul 5, 2024
-
Make the default GC_INITIAL_HEAP_SIZE a lot bigger
On Linux, we now use 80% of free memory. If it's free, we may as well use it, and hopefully avoid some expensive stop-the-world GC cycles.
Configuration menu - View commit details
-
Copy full SHA for 997af66 - Browse repository at this point
Copy the full SHA 997af66View commit details
Commits on Jul 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d3397d7 - Browse repository at this point
Copy the full SHA d3397d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b4c36f - Browse repository at this point
Copy the full SHA 2b4c36fView commit details
Commits on Jul 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d131a02 - Browse repository at this point
Copy the full SHA d131a02View commit details
Commits on Jul 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4482fe4 - Browse repository at this point
Copy the full SHA 4482fe4View commit details -
nix repl: Remove unnecessary call to evalString
This crashes with the multithreaded evaluator, which checks against attempts to finish an already finished value.
Configuration menu - View commit details
-
Copy full SHA for 8cf80c9 - Browse repository at this point
Copy the full SHA 8cf80c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 67ff326 - Browse repository at this point
Copy the full SHA 67ff326View commit details
Commits on Aug 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c8c9500 - Browse repository at this point
Copy the full SHA c8c9500View commit details
Commits on Aug 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for dd44b26 - Browse repository at this point
Copy the full SHA dd44b26View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9102baf - Browse repository at this point
Copy the full SHA 9102bafView commit details -
Configuration menu - View commit details
-
Copy full SHA for 998a289 - Browse repository at this point
Copy the full SHA 998a289View commit details
Commits on Aug 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5310b0f - Browse repository at this point
Copy the full SHA 5310b0fView commit details -
callFunction(): Create the primop app chain safely
We should never call reset() on a value (such as vRes) than can be seen by another thread. This was causing random failures about 'partially applied built-in function' etc.
Configuration menu - View commit details
-
Copy full SHA for 839aec2 - Browse repository at this point
Copy the full SHA 839aec2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f90786 - Browse repository at this point
Copy the full SHA 4f90786View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6357885 - Browse repository at this point
Copy the full SHA 6357885View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4086c1c - Browse repository at this point
Copy the full SHA 4086c1cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a6d8217 - Browse repository at this point
Copy the full SHA a6d8217View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea4e981 - Browse repository at this point
Copy the full SHA ea4e981View commit details -
Configuration menu - View commit details
-
Copy full SHA for d36ea2e - Browse repository at this point
Copy the full SHA d36ea2eView commit details
Commits on Aug 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 114d1a0 - Browse repository at this point
Copy the full SHA 114d1a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for f947b63 - Browse repository at this point
Copy the full SHA f947b63View commit details -
This fixes a crash in Printer if a value is in a failed state.
Configuration menu - View commit details
-
Copy full SHA for ceeb648 - Browse repository at this point
Copy the full SHA ceeb648View commit details
Commits on Aug 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8b7d5b4 - Browse repository at this point
Copy the full SHA 8b7d5b4View commit details
Commits on Aug 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8020c0c - Browse repository at this point
Copy the full SHA 8020c0cView commit details