v8/test/cctest
Nico Hartmann 54ef0d872b Revert "[heap] Rework Worklist base type"
This reverts commit a19316d9d7.

Reason for revert: https://ci.chromium.org/ui/p/v8/builders/ci/V8%20Linux64%20UBSan/22670/overview

Original change's description:
> [heap] Rework Worklist base type
>
> Worklist uses a singly-linked list of segments to hold entries.
> Segment size was based on a compile-time constant but already stored
> in the segment itself.
>
> Rework the segments to query `malloc_usable_size()` on allocation and
> adjust the capacity properly. For PartitionAlloc, it turns out that
> there's ~20% more capacity available for the 64-element segments.
>
> This slows down actual allocation of the segments with the upside of
> improving utilization and requiring 20% less segments.
>
> Change-Id: Ib8595c3fb9fb75b02e4022f6c525bb59a2df7ab7
> Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3826047
> Commit-Queue: Anton Bikineev <bikineev@chromium.org>
> Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
> Reviewed-by: Anton Bikineev <bikineev@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#82432}

Change-Id: I14994e11ff5ffaba70b93d977d40dd2f6e9e5d35
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3829474
Owners-Override: Nico Hartmann <nicohartmann@chromium.org>
Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Auto-Submit: Nico Hartmann <nicohartmann@chromium.org>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#82438}
2022-08-12 13:52:09 +00:00
..
compiler Reland "[riscv32] Add RISCV32 backend" 2022-08-04 12:47:44 +00:00
heap Revert "[heap] Rework Worklist base type" 2022-08-12 13:52:09 +00:00
parsing [test] Move cctest/parsing to unittests/parser 2022-05-17 13:07:30 +00:00
torque
wasm [wasm-gc] Add extern.internalize 2022-08-12 08:18:48 +00:00
assembler-helper-arm.cc [test] Remove some unused includes 2022-07-18 12:59:03 +00:00
assembler-helper-arm.h
BUILD.gn [heap] Implement SimulateFullSpace for PagedNewSpace 2022-08-12 12:55:52 +00:00
cctest-utils.h Reland "[riscv32] Add RISCV32 backend" 2022-08-04 12:47:44 +00:00
cctest.cc [API] Prepare deprecation of second OnCriticalMemoryPressure 2022-07-25 12:59:56 +00:00
cctest.h [API] Prepare deprecation of second OnCriticalMemoryPressure 2022-07-25 12:59:56 +00:00
cctest.status [test] Migrate cctest/test-web-snapshots to unittests/ 2022-08-11 07:02:42 +00:00
collector.h
DEPS
expression-type-collector-macros.h
manually-externalized-buffer.h
OWNERS
print-extension.cc
print-extension.h
profiler-extension.cc
profiler-extension.h
scope-test-helper.h Replace STATIC_ASSERT with static_assert 2022-05-13 13:46:27 +00:00
setup-isolate-for-tests.cc
setup-isolate-for-tests.h
test-accessor-assembler.cc
test-accessors.cc [ext-code-space] Remove more Code <-> CodeT roundtrips 2022-07-21 10:16:13 +00:00
test-allocation.cc [API] Prepare deprecation of second OnCriticalMemoryPressure 2022-07-25 12:59:56 +00:00
test-api-array-buffer.cc [api] Add more efficient API for accesssing ArrayBuffer raw data 2022-07-15 09:03:11 +00:00
test-api-interceptors.cc [test] Remove some unused includes 2022-07-18 12:59:03 +00:00
test-api-stack-traces.cc [cleanup] Make the CaptureStackTrace test threaded 2022-05-31 09:52:38 +00:00
test-api-typed-array.cc
test-api.cc [heap] Implement SimulateFullSpace for PagedNewSpace 2022-08-12 12:55:52 +00:00
test-api.h [test] Remove some unused includes 2022-07-18 12:59:03 +00:00
test-assembler-arm64.cc [test] Remove some unused includes 2022-07-18 12:59:03 +00:00
test-assembler-arm.cc [test] Remove some unused includes 2022-07-18 12:59:03 +00:00
test-assembler-ia32.cc [test] Remove some unused includes 2022-07-18 12:59:03 +00:00
test-assembler-loong64.cc
test-assembler-mips64.cc Place bit_cast<>() in the v8::base:: namespace. 2022-05-05 17:56:39 +00:00
test-assembler-mips.cc Place bit_cast<>() in the v8::base:: namespace. 2022-05-05 17:56:39 +00:00
test-assembler-ppc.cc [codegen] Change RegList into a class 2022-03-14 12:59:48 +00:00
test-assembler-riscv32.cc Reland "[riscv32] Add RISCV32 backend" 2022-08-04 12:47:44 +00:00
test-assembler-riscv64.cc [riscv64] Fix popcount 2022-07-21 06:00:42 +00:00
test-assembler-s390.cc
test-assembler-x64.cc [test] Remove some unused includes 2022-07-18 12:59:03 +00:00
test-code-stub-assembler.cc [masm][cleanup] Refactor call related assembler options 2022-08-10 09:28:34 +00:00
test-constantpool.cc
test-cpu-profiler.cc [ext-code-space] Allow AbstractCode to be CodeDataContainer 2022-07-19 14:37:56 +00:00
test-debug-helper.cc [test] Remove some unused includes 2022-07-18 12:59:03 +00:00
test-debug.cc [ext-code-space] Remove more Code <-> CodeT roundtrips 2022-07-21 10:16:13 +00:00
test-descriptor-array.cc Replace STATIC_ASSERT with static_assert 2022-05-13 13:46:27 +00:00
test-disasm-mips.cc [test] Remove some unused includes 2022-07-18 12:59:03 +00:00
test-disasm-regex-helper.cc Unify naming convention for tests and filter them in TestLoader for cctest 2022-04-20 14:19:55 +00:00
test-disasm-regex-helper.h Unify naming convention for tests and filter them in TestLoader for cctest 2022-04-20 14:19:55 +00:00
test-feedback-vector.cc [test] Remove some unused includes 2022-07-18 12:59:03 +00:00
test-feedback-vector.h [test] Remove some unused includes 2022-07-18 12:59:03 +00:00
test-field-type-tracking.cc [test] Remove some unused includes 2022-07-18 12:59:03 +00:00
test-func-name-inference.cc [test] Remove some unused includes 2022-07-18 12:59:03 +00:00
test-fuzz-arm64.cc
test-global-handles.cc [API] Allow copying of structs with deprecated fields 2022-07-26 11:47:25 +00:00
test-heap-profiler.cc [API] Allow copying of structs with deprecated fields 2022-07-26 11:47:25 +00:00
test-helper-riscv32.cc Reland "[riscv32] Add RISCV32 backend" 2022-08-04 12:47:44 +00:00
test-helper-riscv32.h Reland "[riscv32] Add RISCV32 backend" 2022-08-04 12:47:44 +00:00
test-helper-riscv64.cc [test] Remove some unused includes 2022-07-18 12:59:03 +00:00
test-helper-riscv64.h [test] Remove some unused includes 2022-07-18 12:59:03 +00:00
test-icache.cc Reland "[riscv32] Add RISCV32 backend" 2022-08-04 12:47:44 +00:00
test-ignition-statistics-extension.cc [test] Remove some unused includes 2022-07-18 12:59:03 +00:00
test-inobject-slack-tracking.cc [test] Remove some unused includes 2022-07-18 12:59:03 +00:00
test-inspector.cc [inspector] Rename console.scheduleTask to console.createTask 2022-07-27 06:09:27 +00:00
test-javascript-arm64.cc [test] Remove some unused includes 2022-07-18 12:59:03 +00:00
test-js-arm64-variables.cc [test] Remove some unused includes 2022-07-18 12:59:03 +00:00
test-js-to-wasm.cc [test] Remove some unused includes 2022-07-18 12:59:03 +00:00
test-js-weak-refs.cc [test] Remove some unused includes 2022-07-18 12:59:03 +00:00
test-liveedit.cc [liveedit] Enable Myers algorithm 2022-08-08 08:30:11 +00:00
test-local-handles.cc [test] Remove some unused includes 2022-07-18 12:59:03 +00:00
test-lockers.cc [test] Remove some unused includes 2022-07-18 12:59:03 +00:00
test-log-stack-tracer.cc [test] Remove some unused includes 2022-07-18 12:59:03 +00:00
test-macro-assembler-arm64.cc [test] Remove some unused includes 2022-07-18 12:59:03 +00:00
test-macro-assembler-arm.cc [test] Remove some unused includes 2022-07-18 12:59:03 +00:00
test-macro-assembler-loong64.cc [test] Remove some unused includes 2022-07-18 12:59:03 +00:00
test-macro-assembler-mips64.cc [test] Remove some unused includes 2022-07-18 12:59:03 +00:00
test-macro-assembler-mips.cc [test] Remove some unused includes 2022-07-18 12:59:03 +00:00
test-macro-assembler-riscv32.cc Reland "[riscv32] Add RISCV32 backend" 2022-08-04 12:47:44 +00:00
test-macro-assembler-riscv64.cc [test] Remove some unused includes 2022-07-18 12:59:03 +00:00
test-macro-assembler-x64.cc [test] Remove some unused includes 2022-07-18 12:59:03 +00:00
test-mementos.cc [heap] Update unittests for MinorMC 2022-08-10 06:54:03 +00:00
test-orderedhashtable.cc [test] Remove some unused includes 2022-07-18 12:59:03 +00:00
test-parsing.cc [test] Remove some unused includes 2022-07-18 12:59:03 +00:00
test-profile-generator.cc [ext-code-space] Add cage_base parameter to AbstractCode methods 2022-07-18 17:17:17 +00:00
test-property-details.cc
test-ptr-compr-cage.cc
test-random-number-generator.cc [test] Remove some unused includes 2022-07-18 12:59:03 +00:00
test-sampler-api.cc
test-serialize.cc Remove out-dated ExternalReference cctest 2022-08-10 06:26:17 +00:00
test-shared-strings.cc [heap] Update unittests for MinorMC 2022-08-10 06:54:03 +00:00
test-simple-riscv32.cc Reland "[riscv32] Add RISCV32 backend" 2022-08-04 12:47:44 +00:00
test-simple-riscv64.cc
test-smi-lexicographic-compare.cc [test] Remove some unused includes 2022-07-18 12:59:03 +00:00
test-stack-unwinding-win64.cc [test] Remove some unused includes 2022-07-18 12:59:03 +00:00
test-strings.cc [heap] Implement SimulateFullSpace for PagedNewSpace 2022-08-12 12:55:52 +00:00
test-swiss-name-dictionary-csa.cc Replace STATIC_ASSERT with static_assert 2022-05-13 13:46:27 +00:00
test-swiss-name-dictionary-infra.cc [runtime] Clean up runtime function Arguments accesses 2022-03-09 13:03:15 +00:00
test-swiss-name-dictionary-infra.h [test] Remove some unused includes 2022-07-18 12:59:03 +00:00
test-swiss-name-dictionary-shared-tests.h Replace STATIC_ASSERT with static_assert 2022-05-13 13:46:27 +00:00
test-swiss-name-dictionary.cc
test-sync-primitives-arm64.cc [test] Remove some unused includes 2022-07-18 12:59:03 +00:00
test-sync-primitives-arm.cc [test] Remove some unused includes 2022-07-18 12:59:03 +00:00
test-temporal-parser.cc [Temporal] Parser sync to PR1952 and PR2187 2022-07-18 21:12:02 +00:00
test-trace-event.cc [test] Make cctest run one test, with maybe custom platform 2022-04-05 09:39:18 +00:00
test-transitions.cc [test] Remove some unused includes 2022-07-18 12:59:03 +00:00
test-transitions.h Reland "[runtime] Refactor TransitionsAccessor" 2022-02-14 12:05:06 +00:00
test-typedarrays.cc [test] Remove some unused includes 2022-07-18 12:59:03 +00:00
test-unscopables-hidden-prototype.cc [test] Remove some unused includes 2022-07-18 12:59:03 +00:00
test-unwinder-code-pages.cc [ext-code-space] Update loggers for handling Code-less builtins 2022-08-12 10:36:45 +00:00
test-usecounters.cc [test] Remove some unused includes 2022-07-18 12:59:03 +00:00
test-utils-arm64.cc [test] Remove some unused includes 2022-07-18 12:59:03 +00:00
test-utils-arm64.h [test] Remove some unused includes 2022-07-18 12:59:03 +00:00
test-utils.cc [test] Remove some unused includes 2022-07-18 12:59:03 +00:00
test-v8windbg.cc
test-verifiers.cc
test-weakmaps.cc [heap] Update unittests for MinorMC 2022-08-10 06:54:03 +00:00
testcfg.py [test] Refactor testrunner (4) 2022-07-18 09:52:24 +00:00
trace-extension.cc
trace-extension.h [test] Remove some unused includes 2022-07-18 12:59:03 +00:00
unicode-helpers.cc
unicode-helpers.h