Skip to content

chore: release v2.2.2 - #42

Merged
Ttimmahlax merged 1 commit into
mainfrom
release-plz-2026-10-01T21-56-44Z
Oct 1, 2026
Merged

Ttimmahlax merged 1 commit into
mainfrom
release-plz-2026-10-01T21-56-44Z

Conversation

@github-actions

@github-actions github-actions Bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

🤖 New release

  • rusty_alloc: 2.2.1 -> 2.2.2 (✓ API compatible changes)
  • rusty_alloc-api: 2.2.1 -> 2.2.2
Changelog

rusty_alloc

2.2.2 - 2026-10-01

Fixed

  • (prim) macOS range_is_reserved via mach_vm_region, not mincore
  • (blockmap) clear a reused slot's map pointer -- stress_mt aborted on 4 CPUs
  • (prim) build on macOS -- mincore's out-vector type differs on Apple

Other

  • (unsafe) record the two macOS range_is_reserved sites; ratchet 963 -> 965

rusty_alloc-api

2.2.1 - 2026-09-25

Performance

  • GlobalAlloc methods are #[inline], as the mimalloc crate's are, so
    rustc's __rust_alloc / __rust_dealloc shims carry the fast path instead
    of jumping to it, and dealloc is the free fast path with its null test
    folded away. Measured whole-program against 2.2.0 on two deterministic Rust
    workloads (bench/rust-globalalloc.sh): -21.1 % and -5.8 %.
  • Layouts aligned up to two words (16 bytes on 64-bit) come from the natural
    size classes
    , which are already aligned that far, instead of the aligned
    path; every hashbrown table is such a layout. tests/natural_align.rs pins
    the alignment for every size class through alloc, alloc_zeroed and realloc.
  • realloc keeps a block in place at any alignment when it fits instead
    of always allocating, copying and freeing above 8 bytes of alignment:
    -27.3 % on an over-aligned buffer workload.


This PR was generated with release-plz.

@github-actions
github-actions Bot force-pushed the release-plz-2026-10-01T21-56-44Z branch from 5408d7f to 5130b13 Compare October 1, 2026 22:16
@github-actions
github-actions Bot force-pushed the release-plz-2026-10-01T21-56-44Z branch from 5130b13 to 7fb7e60 Compare October 1, 2026 22:18
@Ttimmahlax
Ttimmahlax merged commit 6c6da15 into main Oct 1, 2026
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.

1 participant