v8/test/cctest/heap
Ulan Degenbaev 3e91957803 [heap] Randomize the timeout for forcing GC in the MeasureMemory API
Chrome may send memory measurement requests to multiple renderer
processes at the same time. This may lead to multiple GC happening at
the same time if the processes are idle. Randomization spreads out
the GCs over time to reduce the load on the system.

Bug: chromium:1049093
Change-Id: I5aa67fb07f8a55d0ba769bf823168b35cb3c23cb
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2208861
Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
Reviewed-by: Dominik Inführ <dinfuehr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#68472}
2020-06-22 19:40:53 +00:00
..
heap-tester.h Ensure bytecode isn't flushed when allocating feedback vector 2020-06-03 13:50:17 +00:00
heap-utils.cc [heap] Allow enabling --local-heaps by default 2020-06-02 19:03:25 +00:00
heap-utils.h [test] Make full space simulation work with --no-inline-new. 2019-10-29 13:28:46 +00:00
test-alloc.cc [api] Create v8::String::NewFromLiteral that returns Local<String> 2020-03-09 12:02:07 +00:00
test-array-buffer-tracker.cc [heap] Keep array buffer bytes stable during sweeping 2020-02-10 14:38:43 +00:00
test-compaction.cc [ptr-compr][ppc] Implement pointer compression 2020-05-06 19:06:32 +00:00
test-concurrent-allocation.cc [heap] Tests can now set FLAG_local_heaps from the get-go 2020-06-03 08:03:38 +00:00
test-concurrent-marking.cc [heap] Refactor marking worklists 2019-12-11 16:46:40 +00:00
test-embedder-tracing.cc [heap] Allow enabling --local-heaps by default 2020-06-02 19:03:25 +00:00
test-external-string-tracker.cc [api] Create v8::String::NewFromLiteral that returns Local<String> 2020-03-09 12:02:07 +00:00
test-heap.cc [api] Avoid using v8::NewFromUtf8Lilteral if possible 2020-06-10 07:41:50 +00:00
test-incremental-marking.cc [heap] Allow enabling --local-heaps by default 2020-06-02 19:03:25 +00:00
test-invalidated-slots.cc [heap] Split out memory-chunk.h etc from spaces.h 2020-05-05 05:44:42 +00:00
test-iterators.cc Reland "[heap] Make ReadOnlySpace use bump pointer allocation" 2020-06-18 11:48:38 +00:00
test-lab.cc [torque] Use generated instance types, part 1 2019-10-28 18:30:31 +00:00
test-mark-compact.cc [torque] Use generated instance types, part 1 2019-10-28 18:30:31 +00:00
test-memory-measurement.cc [heap] Randomize the timeout for forcing GC in the MeasureMemory API 2020-06-22 19:40:53 +00:00
test-page-promotion.cc [objects] Add ArrayBufferExtension class 2020-01-13 12:26:35 +00:00
test-spaces.cc [heap] Check BasicMemoryChunk before initializing 2020-06-22 10:01:25 +00:00
test-unmapper.cc [heap] Split out memory-allocator.h 2020-05-18 10:08:30 +00:00
test-weak-references.cc [cleanup] Refactor Smi::kZero to Smi::zero() 2019-11-15 11:26:48 +00:00