v8/test
Ulan Degenbaev e423f00403 [api] Add a way to specify the max heap size in ResourceConstraints
The new API function is called ConfigureDefaultsFromHeapSize and
accepts two parameters: the initial and the maximum heap size.
Based on the given limits the function computes the default size
for the young and the old generation.

The patch also cleans up the existing functions to make them
consistent in terms of units and heap structure.

Bug: v8:9306
Change-Id: If2200a9cdb45b0b818a373207efe4e6426f7b688
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1631593
Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
Reviewed-by: Jakob Gruber <jgruber@chromium.org>
Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#62017}
2019-06-06 10:22:56 +00:00
..
benchmarks [test] Skip flaky test on predictable mode 2019-05-07 13:57:18 +00:00
cctest [api] Add a way to specify the max heap size in ResourceConstraints 2019-06-06 10:22:56 +00:00
common Add OWNERS files for src and test 2019-05-30 04:51:21 +00:00
debugger Add OWNERS files for src and test 2019-05-30 04:51:21 +00:00
fuzzer Add OWNERS files for src and test 2019-05-30 04:51:21 +00:00
inspector Add OWNERS files for src and test 2019-05-30 04:51:21 +00:00
intl [Intl] Add test cases for %%ALIAS locales 2019-05-31 21:37:08 +00:00
js-perf-test [js-perf-test] Performance benchmark for adding random BigInts 2019-06-06 10:05:16 +00:00
memory Add OWNERS files for src and test 2019-05-30 04:51:21 +00:00
message Add OWNERS files for src and test 2019-05-30 04:51:21 +00:00
mjsunit [mjsunit] Fix tests failing with lazy feedback allocation in gc stress 2019-06-06 06:16:37 +00:00
mkgrokdump [heap] Update HeapIterator and space iterator APIs to match other iterators 2019-05-31 12:59:07 +00:00
mozilla Reland "[array] Move Array#sort pre-processing to Torque" 2019-05-24 12:13:17 +00:00
preparser Add OWNERS files for src and test 2019-05-30 04:51:21 +00:00
test262 Add OWNERS files for src and test 2019-05-30 04:51:21 +00:00
torque Add OWNERS files for src and test 2019-05-30 04:51:21 +00:00
unittests [api] Add a way to specify the max heap size in ResourceConstraints 2019-06-06 10:22:56 +00:00
wasm-api-tests [wasm-c-api] Add tests and fixes 2019-05-28 09:57:04 +00:00
wasm-js Add OWNERS files for src and test 2019-05-30 04:51:21 +00:00
wasm-spec-tests [wasm] Update spec tests 2019-05-22 14:58:45 +00:00
webkit Reland "[array] Move Array#sort pre-processing to Torque" 2019-05-24 12:13:17 +00:00
BUILD.gn [wasm-c-api] Add tests and fixes 2019-05-28 09:57:04 +00:00
OWNERS Clean up infra owners 2019-05-15 11:18:43 +00:00