Skip to content

Conversation

@bpowers
Copy link
Member

@bpowers bpowers commented Apr 6, 2024

It was surprising and frustrating to find a random 64 in MeshableArena's:

  CheapHeap<64, kArenaSize / kPageSize> _mhAllocator{};

is tied to the size of MiniHeap. Make that explicit by defining a constant, and ensuring the constant stays in line with the size of MiniHeap through the use of a static_assert.

Updates #104

@bpowers bpowers merged commit 0a4294e into plasma-umass:master Apr 6, 2024
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