vcpkg icon indicating copy to clipboard operation
vcpkg copied to clipboard

[mimalloc] update to v2.2.4

Open Copilot opened this issue 8 months ago • 1 comments

This PR updates the mimalloc library from version 2.2.3 to 2.2.4.

Changes Made

  • Updated vcpkg.json version from "2.2.3" to "2.2.4" and reset port-version to 0
  • Updated SHA512 hash in portfile.cmake for the v2.2.4 source archive
  • Added new version entry to versions/m-/mimalloc.json with calculated git-tree hash
  • Updated versions/baseline.json to reflect the new baseline version

Release Notes

According to the mimalloc release notes, v2.2.4 includes:

  • Important bug fixes, including a case where OS memory was not always fully released
  • Improved v3 performance
  • Build fixes for XBox and Android
  • Support for interpose on older macOS versions
  • Use MADV_FREE_REUSABLE on macOS
  • Always check commit success
  • Better support for Windows fixed TLS offset

Testing

  • Successfully built and installed mimalloc v2.2.4 on x64-linux
  • Verified package contains all expected files (headers, static libraries)
  • Confirmed version number in header matches v2.2.4 (MI_MALLOC_VERSION = 224)

Fixes #45949.

[!WARNING]

Firewall rules blocked me from connecting to one or more addresses

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/repos/microsoft/mimalloc/git/refs/heads/master
    • Triggering command: curl --fail --retry 3 -L REDACTED --create-dirs --output microsoft-mimalloc-master.version.3517.part -H User-Agent: vcpkg/2025-06-02-145689e84b7637525510e2c9b4ee603fda046b56 (curl) (http block)

If you need me to access, download, or install something from one of these locations, you can either:


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot avatar Jun 12 '25 17:06 Copilot

Format the vcpkg.json using vcpkg format-manifest.

Formatted the vcpkg.json file using vcpkg format-manifest command. The formatting removed the explicit "port-version": 0 field since it's the default value. (7bdd646)

Copilot avatar Jun 13 '25 17:06 Copilot