v8/test/unittests/heap
Michael Lippautz aa1b81b697 [heap] Fix global memory scheduling
Rework limit computation:
- Model controller as static classes based on traits.
- Compute growing factors for both controllers and pick the
  larger growing factor for both controllers.
- Factor out limit computation in its own function.

Bug: chromium:948807
Change-Id: Id466a66d7aa573de91ad388ea9218e9f6721d19a
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1627534
Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#61801}
2019-05-23 16:20:24 +00:00
..
barrier-unittest.cc [heap] Add timeout to Scavenger barrier 2018-10-30 14:28:49 +00:00
bitmap-test-utils.h [heap] Relax accessing markbits in ranges. 2019-02-25 15:28:41 +00:00
bitmap-unittest.cc [heap] Relax accessing markbits in ranges. 2019-02-25 15:28:41 +00:00
code-object-registry-unittest.cc [heap] Make CodeObjectRegistry a separate class. 2019-05-16 18:41:33 +00:00
embedder-tracing-unittest.cc Reland "[heap] Add global memory controller" 2019-05-22 11:32:55 +00:00
gc-idle-time-handler-unittest.cc [heap] Simplify idle notification handler 2019-02-21 12:25:52 +00:00
gc-tracer-unittest.cc Reland "[heap] Add global memory controller" 2019-05-22 11:32:55 +00:00
heap-controller-unittest.cc [heap] Fix global memory scheduling 2019-05-23 16:20:24 +00:00
heap-unittest.cc Move more relevant files to src/objects 2019-05-23 08:52:30 +00:00
item-parallel-job-unittest.cc Move relevant files to src/execution 2019-05-22 08:36:33 +00:00
marking-unittest.cc [heap] Relax accessing markbits in ranges. 2019-02-25 15:28:41 +00:00
memory-reducer-unittest.cc [heap] Reland "Add a guard for restarting the memory reducer after mark-compact." 2016-11-18 13:50:22 +00:00
object-stats-unittest.cc Move more relevant files to src/objects 2019-05-23 08:52:30 +00:00
scavenge-job-unittest.cc Move utility code to src/utils 2019-05-23 14:13:34 +00:00
slot-set-unittest.cc Reland "[ptr-compr] New RelocInfo for compressed pointers." 2019-04-30 07:37:06 +00:00
spaces-unittest.cc [cleanup] Avoid {Object::operator->} 2019-05-23 07:52:07 +00:00
unmapper-unittest.cc Move utility code to src/utils 2019-05-23 14:13:34 +00:00
worklist-unittest.cc [heap] Rename IsGlobalEmpty to IsEmpty 2018-07-03 07:15:34 +00:00