Skip to content

Conversation

@jqnatividad
Copy link
Collaborator

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes jemalloc allocator support from qsv in response to the jemalloc project's postmortem announcement. The change simplifies the codebase by reducing the number of supported memory allocators from three (mimalloc, jemalloc, standard) to two (mimalloc (default), standard).

Key Changes:

  • Removed tikv-jemallocator dependency and all jemalloc-related conditional compilation directives
  • Updated documentation across multiple files to reflect that only mimalloc and standard allocators are now supported
  • Simplified environment variable checking logic to remove JEMALLOC_ and MALLOC_CONF prefix checks

Reviewed changes

Copilot reviewed 11 out of 12 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/main.rs Removed jemalloc global allocator declaration
src/maindp.rs Removed jemalloc global allocator declaration
src/mainlite.rs Removed jemalloc global allocator declaration
src/util.rs Simplified malloc_kind version string logic and environment variable checking by removing jemalloc branches
Cargo.toml Removed tikv-jemallocator dependency
Cargo.lock Removed tikv-jemallocator and tikv-jemalloc-sys package entries
docs/PERFORMANCE.md Updated documentation to remove jemalloc references and installation instructions
docs/FEATURES.md Removed jemallocator feature from feature list
docs/ENVIRONMENT_VARIABLES.md Updated to remove jemalloc environment variable documentation
docs/contributor/PROJECT_TECHNICAL_OVERVIEW.md Updated allocator count from "optional" to "two"
README.md Updated memory allocator description and test example
CLAUDE.md Updated memory management section to remove jemalloc

jqnatividad and others added 2 commits December 4, 2025 09:14
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@jqnatividad jqnatividad merged commit dfc8d90 into master Dec 4, 2025
13 of 14 checks passed
@jqnatividad jqnatividad deleted the remove-jemalloc branch December 4, 2025 14:14
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