v8/test/unittests/objects
Jakob Kummerow 41024b433f [wasm][32-bit] Always grow memory by a factor
On 32-bit platforms, we generally don't over-allocate backing stores
for Wasm memories. That leads to quadratic overall complexity of
repeated growth operations by a few pages each though. To fix that,
this patch introduces a small over-allocation factor: when we have
to reallocate to grow a memory, we now grow by at least 1/8th of the
memory's previous size.

Bug: chromium:1294262
Change-Id: I89b5e974c75aac78bece8fcd72fb7a2184345153
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3472496
Auto-Submit: Jakob Kummerow <jkummerow@chromium.org>
Reviewed-by: Clemens Backes <clemensb@chromium.org>
Commit-Queue: Clemens Backes <clemensb@chromium.org>
Cr-Commit-Position: refs/heads/main@{#79193}
2022-02-21 13:32:35 +00:00
..
object-unittest.cc [cleanup] Remove redundant macro list 2021-03-12 19:24:57 +00:00
osr-optimized-code-cache-unittest.cc [ext-code-space] Avoid Code <-> CodeT conversions in runtime, pt.3 2021-12-14 13:13:46 +00:00
value-serializer-unittest.cc [rab/gsab] Re-enable serializing flags with ValueSerializer 2022-01-19 12:45:39 +00:00
wasm-backing-store-unittest.cc [wasm][32-bit] Always grow memory by a factor 2022-02-21 13:32:35 +00:00
weakarraylist-unittest.cc [objects] Compact and shrink script_list 2020-01-08 17:48:32 +00:00