You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Darwin has a useful function malloc_good_size() which returns a good size to malloc. ByteBuffer's allocator should use that instead of just rounding up to the next power of 2.
The malloc_good_size() function rounds size up to a value that the allocator implementation can allocate without adding any padding; it then
returns that rounded-up value.
On Linux, we should also have a better strategy.
The text was updated successfully, but these errors were encountered:
Darwin has a useful function
malloc_good_size()
which returns a good size to malloc. ByteBuffer's allocator should use that instead of just rounding up to the next power of 2.On Linux, we should also have a better strategy.
The text was updated successfully, but these errors were encountered: