• Omer Katz's avatar
    [heap] Implement SimulateFullSpace for PagedNewSpace · 0cd0e4bb
    Omer Katz authored
    The existing version for paged spaces simply reset the freelist, which
    doesn't work for tests that require actual objects in the space.
    The version for new space also doesn't work because it assumes
    everything after top is free space.
    
    Fill the space with FixedArray by iterating over the freelist and
    creating an object in place of each freelist entry.
    This method actually fills the space, so that we can also use it to
    force page promotion.
    
    Bug: v8:12612
    Change-Id: Ie0d73e846bbf688ea52030be29e0587b2f37ed4e
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3823135Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
    Commit-Queue: Omer Katz <omerkatz@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#82437}
    0cd0e4bb
Name
Last commit
Last update
..
benchmarks Loading commit data...
bigint Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
debugging Loading commit data...
fuzzer Loading commit data...
fuzzilli Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
test262 Loading commit data...
torque Loading commit data...
unittests Loading commit data...
wasm-api-tests Loading commit data...
wasm-js Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
OWNERS Loading commit data...