Skip to content

Commit b397c11

Browse files
committed
Auto merge of #62038 - Zoxc:pre-gc-dep-graph, r=<try>
[WIP] Make dep node indices persistent between sessions This makes marking dep nodes green faster (and lock free in the case with no diagnostics). This change is split out from #60035. Unlike #60035 this makes loading the dep graph slower because it loads 2 copies of the dep graph, one immutable and one mutable. Based on #61845, #61779 and #61923.
2 parents e562b24 + 290912a commit b397c11

File tree

19 files changed

+906
-512
lines changed

19 files changed

+906
-512
lines changed

Cargo.lock

+1
Original file line numberDiff line numberDiff line change
@@ -2893,6 +2893,7 @@ name = "rustc_data_structures"
28932893
version = "0.0.0"
28942894
dependencies = [
28952895
"cfg-if 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",
2896+
"crossbeam-utils 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
28962897
"ena 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)",
28972898
"graphviz 0.0.0",
28982899
"indexmap 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",

0 commit comments

Comments
 (0)