[test] Stress wasm code gc in "stress_background_compile"

The "stress_background_compile" variant runs on all our bots. We
combine it with testing wasm code GC (which kind of fits into
background compile stressing) to get more coverage for that. Both
features are orthogonal, so we can test both at the same time without
loosing any coverage.

R=machenbach@chromium.org
CC=rmcilroy@chromium.org

Bug: v8:8217
Change-Id: Ib17decd4869978ff98e302694fa73d70ceec120e
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1588472
Reviewed-by: Ross McIlroy <rmcilroy@chromium.org>
Reviewed-by: Michael Achenbach <machenbach@chromium.org>
Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#61151}
This commit is contained in:
Clemens Hammacher 2019-05-02 11:16:12 +02:00 committed by Commit Bot
parent e9730ba1d8
commit 01821ab3b6
4 changed files with 8 additions and 6 deletions

View File

@ -418,9 +418,9 @@
##############################################################################
# The test relies on deterministic compilation.
['variant == stress_background_compile', {
['variant == stress_js_bg_compile_wasm_code_gc', {
'test-compiler/DecideToPretenureDuringCompilation': [SKIP],
}], # variant == stress_background_compile
}], # variant == stress_js_bg_compile_wasm_code_gc
##############################################################################
['variant == no_wasm_traps', {

View File

@ -109,10 +109,10 @@
}], # arch == arm64 and msan
##############################################################################
['variant in [nooptimization, stress, stress_background_compile] and (arch == arm or arch == arm64) and simulator_run', {
['variant in [nooptimization, stress, stress_js_bg_compile_wasm_code_gc] and (arch == arm or arch == arm64) and simulator_run', {
# Slow tests: https://crbug.com/v8/7783
'dfg-double-vote-fuzz': [SKIP],
}], # variant in [nooptimization, stress, stress_background_compile] and (arch == arm or arch == arm64) and simulator_run
}], # variant in [nooptimization, stress, stress_js_bg_compile_wasm_code_gc] and (arch == arm or arch == arm64) and simulator_run
##############################################################################
['gcov_coverage', {

View File

@ -23,7 +23,9 @@ ALL_VARIANT_FLAGS = {
"slow_path": [["--force-slow-path"]],
"stress": [["--stress-opt", "--always-opt", "--no-liftoff",
"--no-wasm-tier-up"]],
"stress_background_compile": [["--stress-background-compile"]],
"stress_js_bg_compile_wasm_code_gc": [["--stress-background-compile",
"--wasm-code-gc",
"--stress-wasm-code-gc"]],
"stress_incremental_marking": [["--stress-incremental-marking"]],
# Trigger stress sampling allocation profiler with sample interval = 2^14
"stress_sampling": [["--stress-sampling-allocation-profiler=16384"]],

View File

@ -34,7 +34,7 @@ VARIANTS = ['default']
MORE_VARIANTS = [
'jitless',
'stress',
'stress_background_compile',
'stress_js_bg_compile_wasm_code_gc',
'stress_incremental_marking',
]