Repository navigation
Reduce the amount of untracked state in TyCtxt - #85153
Conversation
commented
May 10, 2021
|
(rust-highfive has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
commented
May 10, 2021
|
r? @Aaron1011 |
commented
May 10, 2021
|
@bors try @rust-timer queue |
commented
May 10, 2021
|
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
commented
May 10, 2021
|
⌛ Trying commit e7f85d5d56e67d76769f003cb66fd2c93aa8d66d with merge 570c16c920c6bcfc3414b8d72b0aac02b812c715... |
commented
May 10, 2021
|
☀️ Try build successful - checks-actions |
commented
May 10, 2021
|
Queued 570c16c920c6bcfc3414b8d72b0aac02b812c715 with parent 266f452, future comparison URL. |
commented
May 10, 2021
|
Finished benchmarking try commit (570c16c920c6bcfc3414b8d72b0aac02b812c715): comparison url. Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. Please note that if the perf results are neutral, you should likely undo the rollup=never given below by specifying Importantly, though, if the results of this run are non-neutral do not roll this PR up -- it will mask other regressions or improvements in the roll up. @bors rollup=never |
|
Because I see it being used here: |
commented
May 11, 2021
|
It looks like the trait map is the only code that uses |
commented
May 11, 2021
|
☔ The latest upstream changes (presumably #82272) made this pull request unmergeable. Please resolve the merge conflicts. |
commented
May 12, 2021
|
☔ The latest upstream changes (presumably #83610) made this pull request unmergeable. Please resolve the merge conflicts. |
Access to untracked global state may generate instances of #84970.
The GlobalCtxt contains the lowered HIR, the resolver outputs and interners.
By wrapping the resolver inside a query, we make sure those accesses are properly tracked.
As a no_hash query, all dependent queries essentially become
eval_always,what they should have been from the beginning.