Skip to content

Remove page allocator cache - #149

Merged
Kronos3 merged 4 commits into
mainfrom
remove-alloc-cache
Jul 30, 2026
Merged

Remove page allocator cache#149
Kronos3 merged 4 commits into
mainfrom
remove-alloc-cache

Conversation

@Kronos3

@Kronos3 Kronos3 commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

The alloc cache allowed a special case in the PageAllocator bump allocation requirements where the last allocation could be deallocated. It was used for table and data by allocating a Vec to hold the Data/Elements and then initializing the table. This was an oversight since it used to be necessary to create that Vec to store the Vec<Data> and Vec<Element> but now we diverge from the Wasm spec and load directly into linear memory/table.

@github-actions

github-actions Bot commented Jul 30, 2026

Copy link
Copy Markdown

CoreMark Benchmark Results

Current Score: 251.177
Baseline Score (main): 261.267
Difference: -10.090 (-3.86%)

@github-actions

Copy link
Copy Markdown

Code Coverage Report

Current Coverage: 95.29%
Baseline Coverage (main): 95.29%
Difference: -0.00%

@Kronos3
Kronos3 merged commit 042d757 into main Jul 30, 2026
20 checks passed
@Kronos3
Kronos3 deleted the remove-alloc-cache branch July 30, 2026 14:39
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