v8/test/unittests
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
..
api [api] Add a way to specify the max heap size in ResourceConstraints 2019-06-06 10:22:56 +00:00
asmjs Move more relevant files to src/objects 2019-05-23 08:52:30 +00:00
assembler Move architecture dependent files 2019-05-28 14:02:15 +00:00
base [cleanup] Replace function typedefs by using declarations 2019-05-28 08:35:08 +00:00
codegen Move unittest files 2019-05-27 08:52:23 +00:00
compiler [arm64][windows] Ensure 64-bit values in unittest 2019-06-04 16:30:12 +00:00
compiler-dispatcher [tracing] Speed up SharedFunctionInfo::TraceID 2019-06-04 15:02:03 +00:00
date Move unittest files 2019-05-27 08:52:23 +00:00
diagnostics Move unittest files 2019-05-27 08:52:23 +00:00
execution Move unittest files 2019-05-27 08:52:23 +00:00
heap [api] Add a way to specify the max heap size in ResourceConstraints 2019-06-06 10:22:56 +00:00
interpreter Move remaining files in src/ 2019-05-24 18:24:36 +00:00
libplatform [tracing] Implement RunsTasksOnCurrentThread for the worker task runner 2019-05-08 09:03:04 +00:00
logging Move unittest files 2019-05-27 08:52:23 +00:00
numbers [cleanup] Replace simple typedefs by using 2019-05-27 12:39:49 +00:00
objects [cleanup] Replace simple typedefs by using 2019-05-27 12:39:49 +00:00
parser Move remaining files in src/ 2019-05-24 18:24:36 +00:00
profiler [cleanup] Replace simple typedefs by using 2019-05-27 12:39:49 +00:00
regress Move relevant files to src/execution 2019-05-22 08:36:33 +00:00
strings [cleanup] Remove 'typedef struct' and 'typedef enum' 2019-05-28 12:17:35 +00:00
tasks [tracing] Speed up SharedFunctionInfo::TraceID 2019-06-04 15:02:03 +00:00
torque [torque] generate files per Torque file instead of per namespace 2019-06-05 16:12:27 +00:00
utils [cleanup] Replace simple typedefs by using 2019-05-27 12:39:49 +00:00
wasm [wasm][anyref] Introduce the select_with_type instruction 2019-05-28 10:46:23 +00:00
zone [zone] Remove segment pooling from accounting allocator 2019-03-01 09:25:48 +00:00
BUILD.gn [api] Add a way to specify the max heap size in ResourceConstraints 2019-06-06 10:22:56 +00:00
DEPS Move unit tests to test/unittests. 2014-10-01 08:34:25 +00:00
OWNERS Add OWNERS files for src and test 2019-05-30 04:51:21 +00:00
run-all-unittests.cc Reland "Add test to show the crashing of TimeZone::AdoptDefault" 2019-05-16 09:38:43 +00:00
test-helpers.cc Move more relevant files to src/objects 2019-05-23 08:52:30 +00:00
test-helpers.h [Compiler] Remove CompilerDispatcherJob and use BackgroundCompileTask directly 2018-10-09 10:39:27 +00:00
test-utils.cc Move remaining files in src/ 2019-05-24 18:24:36 +00:00
test-utils.h [cleanup] Replace simple typedefs by using 2019-05-27 12:39:49 +00:00
testcfg.py Reland "Preparing v8 to use with python3 /test" 2019-03-20 09:56:06 +00:00
unittests.status [torque] disable Windows ASAN unittests 2019-05-28 13:16:06 +00:00