• Dominik Inführ's avatar
    [heap] Reland: Reduce size of possibly empty buckets · 56f56df6
    Dominik Inführ authored
    Before this CL a byte was used per bucket to store whether the bucket
    is possibly empty or not. This CL changes this such that each bucket
    only needs a single bit.
    
    PossiblyEmptyBuckets is now a word in the page header. If more bits
    are needed than fit into a single word, an external bitmap is
    allocated using AlignedAlloc. Storing this on the page header, allows
    to remove initial_buckets from the SlotSet. The SlotSet allocation is
    then again a power-of-2 in release mode.
    
    Reland of https://crrev.com/c/1906376: Incorrect DCHECK was removed.
    WordsForBuckets was simplified and a test was added for it.
    
    Bug: chromium:1023139
    Change-Id: I9a08e03a9c10e5781a146b9a28dab38824aad91f
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1954391Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
    Commit-Queue: Dominik Inführ <dinfuehr@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#65385}
    56f56df6
Name
Last commit
Last update
..
api Loading commit data...
asmjs Loading commit data...
assembler Loading commit data...
base Loading commit data...
codegen Loading commit data...
compiler Loading commit data...
compiler-dispatcher Loading commit data...
date Loading commit data...
diagnostics Loading commit data...
execution Loading commit data...
heap Loading commit data...
interpreter Loading commit data...
libplatform Loading commit data...
logging Loading commit data...
numbers Loading commit data...
objects Loading commit data...
parser Loading commit data...
profiler Loading commit data...
regress Loading commit data...
strings Loading commit data...
tasks Loading commit data...
torque Loading commit data...
utils Loading commit data...
wasm Loading commit data...
zone Loading commit data...
BUILD.gn Loading commit data...
DEPS Loading commit data...
run-all-unittests.cc Loading commit data...
test-helpers.cc Loading commit data...
test-helpers.h Loading commit data...
test-utils.cc Loading commit data...
test-utils.h Loading commit data...
testcfg.py Loading commit data...
unittests.status Loading commit data...