Skip to content
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

Remove the alloc_jemalloc crate #55238

Merged
merged 3 commits into from
Nov 3, 2018
Merged

Commits on Nov 2, 2018

  1. Remove all jemalloc-related content

    This commit removes all jemalloc related submodules, configuration, etc,
    from the bootstrap, from the standard library, and from the compiler.
    This will be followed up with a change to use jemalloc specifically as
    part of rustc on blessed platforms.
    alexcrichton committed Nov 2, 2018
    Configuration menu
    Copy the full SHA
    61e8944 View commit details
    Browse the repository at this point in the history
  2. Use jemalloc-sys on Linux and OSX compilers

    This commit adds opt-in support to the compiler to link to `jemalloc` in
    the compiler. When activated the compiler will depend on `jemalloc-sys`,
    instruct jemalloc to unprefix its symbols, and then link to it. The
    feature is activated by default on Linux/OSX compilers for x86_64/i686
    platforms, and it's not enabled anywhere else for now. We may be able to
    opt-in other platforms in the future! Also note that the opt-in only
    happens on CI, it's otherwise unconditionally turned off by default.
    
    Closes rust-lang#36963
    alexcrichton committed Nov 2, 2018
    Configuration menu
    Copy the full SHA
    016eaf8 View commit details
    Browse the repository at this point in the history
  3. rustc: Wait for all codegen threads to exit

    This commit updates rustc to wait for all codegen threads to exit before
    allowing the main thread to exit. This is a stab in the dark to fix the
    mysterious segfaults appearing on rust-lang#55238, and hopefully we'll see
    whether this actually fixes things in practice...
    alexcrichton committed Nov 2, 2018
    Configuration menu
    Copy the full SHA
    14c6835 View commit details
    Browse the repository at this point in the history