Skip to content

Improve shared_heap test cases.#4834

Merged
lum1n0us merged 1 commit intobytecodealliance:mainfrom
lum1n0us:enh/shared_heap_tests
Feb 15, 2026
Merged

Improve shared_heap test cases.#4834
lum1n0us merged 1 commit intobytecodealliance:mainfrom
lum1n0us:enh/shared_heap_tests

Conversation

@lum1n0us
Copy link
Contributor

Aligned allocation size can be significantly greater than the original size, and page size varies across platforms.

macOS on M1 (Apple Silicon) uses a memory page size of 16,384 bytes (16 KB).
This differs from the traditional 4 KB page size used on Intel Macs and many
other ARM64 systems, and is designed to improve performance by reducing page
table overhead and allowing for better cache utilization.

Aligned allocation size can be significantly greater than the original size,
and page size varies across platforms.

> macOS on M1 (Apple Silicon) uses a memory page size of 16,384 bytes (16 KB).
> This differs from the traditional 4 KB page size used on Intel Macs and many
> other ARM64 systems, and is designed to improve performance by reducing page
> table overhead and allowing for better cache utilization.
@lum1n0us lum1n0us merged commit 0c9fe61 into bytecodealliance:main Feb 15, 2026
504 checks passed
@lum1n0us lum1n0us deleted the enh/shared_heap_tests branch February 15, 2026 04:45
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.

3 participants