Skip to content

Depend on jemallocator as tikv-jemallocator, and update it to 0.6#1722

Merged
tmccombs merged 2 commits intosharkdp:masterfrom
musicinmybrain:tikv
May 15, 2025
Merged

Depend on jemallocator as tikv-jemallocator, and update it to 0.6#1722
tmccombs merged 2 commits intosharkdp:masterfrom
musicinmybrain:tikv

Conversation

@musicinmybrain
Copy link
Copy Markdown
Contributor

@musicinmybrain musicinmybrain commented May 14, 2025

First, this PR depends on jemallocator using the name tikv-jemallocator. These are the same project; upstream writes:

This project is the successor of jemallocator.

The project is also published as jemallocator for historical reasons. The two crates are the same except names. For new projects, it's recommended to use tikv-xxx versions instead.

While fd is not a new project, there’s no reason not to migrate to the newer name.


Next, this PR updates tikv-jemallocator from 0.5.4 to 0.6.0; the changelog for that is here. No code changes were required for the update.


As a follow-up, you might consider investigating whether jemalloc can be re-enabled on MacOS:

fd/Cargo.toml

Lines 69 to 71 in efe499a

# FIXME: Re-enable jemalloc on macOS
# jemalloc is currently disabled on macOS due to a bug in jemalloc in combination with macOS
# Catalina. See https://github.com/sharkdp/fd/issues/498 for details.

Upstream writes: “The project is also published as jemallocator for
historical reasons. The two crates are the same except names. For new
projects, it's recommended to use tikv-xxx versions instead.”
@tmccombs tmccombs merged commit 9bd1647 into sharkdp:master May 15, 2025
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants