-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Rollup of 6 pull requests #72229
Rollup of 6 pull requests #72229
Commits on Apr 29, 2020
-
Configuration menu - View commit details
-
Copy full SHA for cf5e4a7 - Browse repository at this point
Copy the full SHA cf5e4a7View commit details
Commits on May 10, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 23d880b - Browse repository at this point
Copy the full SHA 23d880bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 51e466d - Browse repository at this point
Copy the full SHA 51e466dView commit details
Commits on May 13, 2020
-
Fix the new capacity measurement in arenas.
For the given code paths, the amount of space used in the previous chunk is irrelevant. (This will almost never make a difference to behaviour, but it makes the code clearer.)
Configuration menu - View commit details
-
Copy full SHA for 9111d8b - Browse repository at this point
Copy the full SHA 9111d8bView commit details -
Be less aggressive with
DroplessArena
/TypedArena
growth.`DroplessArena` and `TypedArena` use an aggressive growth strategy: the first chunk is 4 KiB, the second is 8 KiB, and it keeps on doubling indefinitely. DHAT profiles show that sometimes this results in large chunks (e.g. 16-128 MiB) that are barely filled. Although these don't contribute to RSS, they clog up the DHAT profiles. This commit changes things so that the doubling stops at 2 MiB. This is large enough that chunk allocations are still rare (you might get 100s instead of 10s of them) but avoids lots of unused space in the worst case. It gives a slight speed-up to cycle counts in some cases.
Configuration menu - View commit details
-
Copy full SHA for 40d4868 - Browse repository at this point
Copy the full SHA 40d4868View commit details -
Configuration menu - View commit details
-
Copy full SHA for ce915f5 - Browse repository at this point
Copy the full SHA ce915f5View commit details
Commits on May 15, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 257e377 - Browse repository at this point
Copy the full SHA 257e377View commit details -
Configuration menu - View commit details
-
Copy full SHA for 00268be - Browse repository at this point
Copy the full SHA 00268beView commit details -
Rollup merge of rust-lang#71677 - Mark-Simulacrum:hasher-docs, r=Amanieu
Add explicit references to the BuildHasher trait Fixes rust-lang#71652
Configuration menu - View commit details
-
Copy full SHA for 91e693b - Browse repository at this point
Copy the full SHA 91e693bView commit details -
Rollup merge of rust-lang#71872 - nnethercote:less-aggressive-arena-g…
…rowth, r=oli-obk Be less aggressive with `DroplessArena`/`TypedArena` growth. `DroplessArena` and `TypedArena` use an aggressive growth strategy: the first chunk is 4 KiB, the second is 8 KiB, and it keeps on doubling indefinitely. DHAT profiles show that sometimes this results in large chunks (e.g. 16-128 MiB) that are barely filled. This commit changes things so that the doubling stops at 2 MiB. This is large enough that chunk allocations are still rare (you might get 100s instead of 10s of them) but avoids lots of unused space in the worst case. It makes the same change to `TypedArena`, too.
Configuration menu - View commit details
-
Copy full SHA for 4b3ecda - Browse repository at this point
Copy the full SHA 4b3ecdaView commit details -
Rollup merge of rust-lang#72090 - RalfJung:rustc_driver-exit-code, r=…
…oli-obk rustc_driver: factor out computing the exit code In a recent Miri PR I [added a convenience wrapper](https://github.com/rust-lang/miri/pull/1405/files#diff-c3d602c5c8035a16699ce9c015bfeceaR125) around `catch_fatal_errors` and `run_compiler` that @oli-obk suggested I could upstream. However, after seeing what could be shared between `rustc_driver::main`, clippy and Miri, really the only thing I found is computing the exit code -- so that's what this PR does. What prevents using the Miri convenience function in `rustc_driver::main` and clippy is that they do extra work inside `catch_fatal_errors`, and while I could abstract that away, clippy actually *computes the callbacks* inside there, and I fond no good way to abstract that and thus gave up. Maybe the clippy thing could be moved out, I am not sure if it ever can actually raise a `FatalErrorMarker` -- someone more knowledgeable in clippy would have to do that.
Configuration menu - View commit details
-
Copy full SHA for 491a9fc - Browse repository at this point
Copy the full SHA 491a9fcView commit details -
Rollup merge of rust-lang#72180 - euclio:rustdoc-test-extra-space, r=…
…Dylan-DPC remove extra space from crate-level doctest names Before: ``` running 2 tests test src/test/rustdoc-ui/doctest-output.rs - foo::bar (line 11) ... ok test src/test/rustdoc-ui/doctest-output.rs - (line 5) ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out ``` After: ``` running 2 tests test src/test/rustdoc-ui/doctest-output.rs - foo::bar (line 11) ... ok test src/test/rustdoc-ui/doctest-output.rs - (line 5) ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out ```
Configuration menu - View commit details
-
Copy full SHA for c8e9ade - Browse repository at this point
Copy the full SHA c8e9adeView commit details -
Rollup merge of rust-lang#72216 - doctorn:require-lang-item, r=lcnr
Remove `lang_items\(\).*\.unwrap\(\)` Follows up rust-lang#72170 to remove the remaining uses of `lang_items\(\).*\.unwrap\(\)` (avoids a bunch of potential ICEs when working in `#![no_core]`). Resolves rust-lang#72195
Configuration menu - View commit details
-
Copy full SHA for af423c9 - Browse repository at this point
Copy the full SHA af423c9View commit details -
Rollup merge of rust-lang#72224 - lzutao:links, r=Dylan-DPC
doc: add links to rotate_(left|right)
Configuration menu - View commit details
-
Copy full SHA for 67607ae - Browse repository at this point
Copy the full SHA 67607aeView commit details