Commit c7e84f52 authored by Michael Achenbach's avatar Michael Achenbach Committed by Commit Bot

[test] Add stress_incremental_marking testing variant

Bug: 
Change-Id: Iddb8dde328af42b99c74195a13975346437c7259
Reviewed-on: https://chromium-review.googlesource.com/700635Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
Commit-Queue: Michael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/master@{#48310}
parent 93e00066
......@@ -348,6 +348,11 @@
}], # 'arch == ppc or arch == ppc64 or arch == s390 or arch == s390x'
##############################################################################
['variant == stress_incremental_marking', {
'test-heap-profiler/SamplingHeapProfiler': [SKIP],
}], # variant == stress_incremental_marking
##############################################################################
['variant == wasm_traps', {
'test-accessors/*': [SKIP],
......
......@@ -135,6 +135,7 @@ HEAP_TEST(InvalidatedSlotsAfterTrimming) {
}
HEAP_TEST(InvalidatedSlotsEvacuationCandidate) {
ManualGCScope manual_gc_scope;
CcTest::InitializeVM();
Heap* heap = CcTest::heap();
std::vector<ByteArray*> byte_arrays;
......
......@@ -773,6 +773,7 @@ TEST(CanonicalHandleScope) {
}
TEST(GCShortCutting) {
ManualGCScope manual_gc_scope;
IdentityMapTester t;
Isolate* isolate = CcTest::i_isolate();
Factory* factory = isolate->factory();
......
......@@ -3,6 +3,7 @@
// found in the LICENSE file.
// Flags: --allow-natives-syntax --no-always-opt
// Flags: --no-stress-incremental-marking
// Files: test/mjsunit/code-coverage-utils.js
// Test precise code coverage.
......
......@@ -113,6 +113,7 @@ VARIANTS = ["default"]
MORE_VARIANTS = [
"stress",
"stress_incremental_marking",
"nooptimization",
"stress_asm_wasm",
"wasm_traps",
......
......@@ -6,6 +6,7 @@
ALL_VARIANT_FLAGS = {
"default": [[]],
"stress": [["--stress-opt", "--always-opt"]],
"stress_incremental_marking": [["--stress-incremental-marking"]],
# No optimization means disable all optimizations. OptimizeFunctionOnNextCall
# would not force optimization too. It turns into a Nop. Please see
# https://chromium-review.googlesource.com/c/452620/ for more discussion.
......@@ -18,6 +19,7 @@ ALL_VARIANT_FLAGS = {
FAST_VARIANT_FLAGS = {
"default": [[]],
"stress": [["--stress-opt"]],
"stress_incremental_marking": [["--stress-incremental-marking"]],
# No optimization means disable all optimizations. OptimizeFunctionOnNextCall
# would not force optimization too. It turns into a Nop. Please see
# https://chromium-review.googlesource.com/c/452620/ for more discussion.
......@@ -26,5 +28,5 @@ FAST_VARIANT_FLAGS = {
"wasm_traps": [["--wasm_guard_pages", "--wasm_trap_handler", "--invoke-weak-callbacks"]],
}
ALL_VARIANTS = set(["default", "stress", "nooptimization", "stress_asm_wasm",
"wasm_traps"])
ALL_VARIANTS = set(["default", "stress", "stress_incremental_marking",
"nooptimization", "stress_asm_wasm", "wasm_traps"])
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment