-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Overhaul internals to support faster execution (#111)
The internals are overhauled to avoid as much allocation as possible. This is done by leveraging the object store as much as possible and hard coding settings such as max threads. Additionally, the history tracked by atomic cells is limited. These changes enable tracking state without the use of vecs and other allocated collections. The atomic abstraction now has improved coherence tracking. The "backtrace" feature is removed in favor of the nightly `Location` API. To enable this, a nightly Rust must be used and `--cfg loom_nightly` specified at compile time. This patch comes with a number of breaking changes, including: * `CausalCell` deferred checks is removed as doing so is undefined behavior. * `CausalCell` is renamed to `UnsafeCell`.
- Loading branch information
1 parent
977067f
commit 88e4225
Showing
40 changed files
with
2,098 additions
and
1,667 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.