Uh oh!
There was an error while loading. Please reload this page.
Store CtxtInterners for local values in AllArenas - #57214
Conversation
9298bd8 to
e261ca0Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
e585dbb to
0bb05f4Compare
This comment has been minimized.
This comment has been minimized.
0bb05f4 to
e4c68a2CompareZoxc
commented
Dec 30, 2018
@bors try |
bors
commented
Dec 30, 2018
⌛ Trying commit e4c68a2436aebe43d3c61745c393d7c2180e2ace with merge 005d7a2944755845526457d6176ace8b35934ef3... |
bors
commented
Dec 30, 2018
☀️ Test successful - status-travis |
Zoxc
commented
Dec 31, 2018
@rust-timer build 005d7a2944755845526457d6176ace8b35934ef3 |
rust-timer
commented
Dec 31, 2018
Success: Queued 005d7a2944755845526457d6176ace8b35934ef3 with parent 953a9cf, comparison URL. |
rust-timer
commented
Dec 31, 2018
Finished benchmarking try commit 005d7a2944755845526457d6176ace8b35934ef3 |
Zoxc
commented
Dec 31, 2018
It doesn't seem like local interners are effective in keeping memory usage down. Is there some other reason to have them? cc @rust-lang/compiler |
Zoxc
commented
Dec 31, 2018
@bors try |
bors
commented
Dec 31, 2018
⌛ Trying commit 1936a000fd80a8011738ddb23a14deba8a61564c with merge 2eb7307a44bc76a18eeb0c4d2947492b2be4cbf2... |
rust-highfive
commented
Dec 31, 2018
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
bors
commented
Dec 31, 2018
☀️ Test successful - status-travis |
Zoxc
commented
Dec 31, 2018
@rust-timer build 2eb7307a44bc76a18eeb0c4d2947492b2be4cbf2 |
rust-timer
commented
Dec 31, 2018
Success: Queued 2eb7307a44bc76a18eeb0c4d2947492b2be4cbf2 with parent aeed63b, comparison URL. |
rust-timer
commented
Dec 31, 2018
Finished benchmarking try commit 2eb7307a44bc76a18eeb0c4d2947492b2be4cbf2 |
nikomatsakis
commented
Jan 2, 2019
Nominating for discussion at a @rust-lang/compiler meeting -- afaik, the whole For a decision this major, though, it seems like it would behoove us to gather more data than just perf. @Zoxc do you think you could measure bootstrap memory usage for stage2 or something like that? i'm not sure what's the easiest way to do that -- perhaps |
I measured the maximum size of a local arena in |
Zoxc
commented
Jan 4, 2019
With some more options enabled (debug-assertions, debuginfo, experimental-parallel-queries) peak memory usage rises to 4.25 GB giving a 3% regression. |
bors
commented
Jun 2, 2019
💔 Test failed - checks-travis |
rust-highfive
commented
Jun 2, 2019
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
mati865
commented
Jun 2, 2019
cc #55861 |
Centril
commented
Jun 2, 2019
@bors retry |
bors
commented
Jun 2, 2019
⌛ Testing commit 66a376e with merge 6220254a46ca08f33bfd0e2182fd10e4abb14a0d... |
bors
commented
Jun 2, 2019
💔 Test failed - status-appveyor |
Zoxc
commented
Jun 3, 2019
@bors retry |
bors
commented
Jun 3, 2019
Store CtxtInterners for local values in AllArenas r? @eddyb
bors
commented
Jun 3, 2019
☀️ Test successful - checks-travis, status-appveyor |
Unify all uses of 'gcx and 'tcx. This is made possible by @Zoxc landing #57214 (see #57214 (comment) for the decision). A bit of context for the approach: just like #61722, this is *not* how I originally intended to go about this, but @Zoxc and my own experimentation independently resulted in the same conclusion: The interim alias `type TyCx<'tcx> = TyCtxt<'tcx, 'tcx>;` attempt required more work (adding `use`s), even only for handling the `TyCtxt<'tcx, 'tcx>` case and not the general `TyCtxt<'gcx, 'tcx>` one. What this PR is based on is the realization that `'gcx` is a special-enough name that it can be replaced, without caring for context, with `'tcx`, and then repetitions of the name `'tcx` be compacted away. After that, only a small number of error categories remained, each category easily dealt with with either more mass replacements (e.g. `TyCtxt<'tcx, '_>` -> `TyCtxt<'tcx>`) or by hand. For the `rustfmt` commit, I used rust-lang/rustfmt#1324 (comment), and manually filtered out some noise, like in #61735 and #61722, and like the latter, there was also a weird bug to work around. It should be reviewed separately, and dropped if unwanted (in this PR it's pretty significant). cc @rust-lang/compiler r? @nikomatsakis
Use a single CtxtInterners Builds on rust-lang#57214 r? @eddyb
Use a single CtxtInterners Builds on rust-lang#57214 r? @eddyb
Use a single CtxtInterners Builds on rust-lang#57214 r? @eddyb
r? @eddyb