Skip to content

Use alignment when allocating vm and stack memory#91

Merged
rdunnington merged 2 commits into
rdunnington:mainfrom
rtfeldman:use-aligned-alloc
Jun 8, 2026
Merged

Use alignment when allocating vm and stack memory#91
rdunnington merged 2 commits into
rdunnington:mainfrom
rtfeldman:use-aligned-alloc

Conversation

@rtfeldman

@rtfeldman rtfeldman commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

The required alignment is already in scope, it's just currently unused in the allocation.

This switches to using alignedAlloc and passing in alignment.

(I ran into this when trying to use an allocator that doesn't always align to a big number regardless.)

rtfeldman added 2 commits June 7, 2026 17:07
The required alignment is already in scope, it's just currently
unused in the allocation. This switches to using `alignedAlloc`
and passing in `alignment`.
@rdunnington rdunnington merged commit 652b68f into rdunnington:main Jun 8, 2026
6 checks passed
@rdunnington

Copy link
Copy Markdown
Owner

Thanks!

@rtfeldman

Copy link
Copy Markdown
Contributor Author

Thanks for making bytebox! 😃

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