Commit d37d767b authored by Ross McIlroy's avatar Ross McIlroy Committed by Commit Bot

[Test] Add --stress-flush-bytecode to gc-stress tester.

Also disables --stress-flush-bytecode on some mjsunit tests which fail
when bytecode flushing is stressed due to test invariants.

Bug=v8:8395

Change-Id: If627910214b3c266e7776340ba182829148e8289
Reviewed-on: https://chromium-review.googlesource.com/c/1372071Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
Commit-Queue: Ross McIlroy <rmcilroy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#58230}
parent 7daf10ad
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
// Flags: --allow-natives-syntax --no-always-opt --opt // Flags: --allow-natives-syntax --no-always-opt --opt
// Flags: --no-stress-flush-bytecode
var source = var source =
` `
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
// Flags: --allow-natives-syntax --no-always-opt --opt // Flags: --allow-natives-syntax --no-always-opt --opt
// Flags: --no-stress-flush-bytecode
var source = var source =
` `
......
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
// Flags: --no-stress-flush-bytecode
let {session, contextGroup, Protocol} = InspectorTest.start('Checks internal [[Entries]] in Runtime.getProperties output'); let {session, contextGroup, Protocol} = InspectorTest.start('Checks internal [[Entries]] in Runtime.getProperties output');
Protocol.Runtime.enable(); Protocol.Runtime.enable();
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
// Flags: --allow-natives-syntax --no-always-opt // Flags: --allow-natives-syntax --no-always-opt --no-stress-flush-bytecode
// Files: test/mjsunit/code-coverage-utils.js // Files: test/mjsunit/code-coverage-utils.js
// Test code coverage without explicitly activating it upfront. // Test code coverage without explicitly activating it upfront.
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
// Flags: --allow-natives-syntax --no-always-opt // Flags: --allow-natives-syntax --no-always-opt --no-stress-flush-bytecode
// Flags: --no-opt // Flags: --no-opt
// Files: test/mjsunit/code-coverage-utils.js // Files: test/mjsunit/code-coverage-utils.js
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
// Flags: --allow-natives-syntax --no-always-opt --opt // Flags: --allow-natives-syntax --no-always-opt --opt
// Flags: --no-stress-flush-bytecode
// Files: test/mjsunit/code-coverage-utils.js // Files: test/mjsunit/code-coverage-utils.js
if (isNeverOptimizeLiteMode()) { if (isNeverOptimizeLiteMode()) {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
// Flags: --allow-natives-syntax --no-always-opt // Flags: --allow-natives-syntax --no-always-opt --no-stress-flush-bytecode
// Files: test/mjsunit/code-coverage-utils.js // Files: test/mjsunit/code-coverage-utils.js
%DebugToggleBlockCoverage(true); %DebugToggleBlockCoverage(true);
......
...@@ -2,7 +2,8 @@ ...@@ -2,7 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
// Flags: --allow-natives-syntax --no-always-opt --harmony-public-fields --harmony-static-fields // Flags: --allow-natives-syntax --no-always-opt --harmony-public-fields
// Flags: --harmony-static-fields --no-stress-flush-bytecode
// Files: test/mjsunit/code-coverage-utils.js // Files: test/mjsunit/code-coverage-utils.js
%DebugToggleBlockCoverage(true); %DebugToggleBlockCoverage(true);
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
// Flags: --allow-natives-syntax --no-always-opt // Flags: --allow-natives-syntax --no-always-opt --no-stress-flush-bytecode
// Flags: --no-stress-incremental-marking // Flags: --no-stress-incremental-marking
// Files: test/mjsunit/code-coverage-utils.js // Files: test/mjsunit/code-coverage-utils.js
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
// Flags: --allow-natives-syntax --opt --noalways-opt // Flags: --allow-natives-syntax --opt --noalways-opt --no-stress-flush-bytecode
// Invalidate the detaching protector. // Invalidate the detaching protector.
%ArrayBufferDetach(new ArrayBuffer(1)); %ArrayBufferDetach(new ArrayBuffer(1));
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
// Flags: --harmony-weak-refs --expose-gc --noincremental-marking // Flags: --harmony-weak-refs --expose-gc --noincremental-marking
// Flags: --no-stress-flush-bytecode
let cleanup0_call_count = 0; let cleanup0_call_count = 0;
let cleanup0_weak_cell_count = 0; let cleanup0_weak_cell_count = 0;
......
...@@ -49,7 +49,8 @@ VARIANT_ALIASES = { ...@@ -49,7 +49,8 @@ VARIANT_ALIASES = {
GC_STRESS_FLAGS = ["--gc-interval=500", "--stress-compaction", GC_STRESS_FLAGS = ["--gc-interval=500", "--stress-compaction",
"--concurrent-recompilation-queue-length=64", "--concurrent-recompilation-queue-length=64",
"--concurrent-recompilation-delay=500", "--concurrent-recompilation-delay=500",
"--concurrent-recompilation"] "--concurrent-recompilation",
"--stress-flush-bytecode"]
RANDOM_GC_STRESS_FLAGS = ["--random-gc-interval=5000", RANDOM_GC_STRESS_FLAGS = ["--random-gc-interval=5000",
"--stress-compaction-random"] "--stress-compaction-random"]
......
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