Commit b5a33eba authored by Jakob Kummerow's avatar Jakob Kummerow Committed by Commit Bot

[test] Make a few tests robust to GC stress

A recent unrelated change caused these tests to get unlucky in
GC stress mode. Their "assertOptimized" expectations rely on
certain type feedback data not getting flushed at the wrong time.

Bug: v8:10846
Change-Id: I86d0b0c049539e4a69aa764cc6ec92465ca12beb
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2381458Reviewed-by: 's avatarMaya Lekova <mslekova@chromium.org>
Commit-Queue: Maya Lekova <mslekova@chromium.org>
Auto-Submit: Jakob Kummerow <jkummerow@chromium.org>
Cr-Commit-Position: refs/heads/master@{#69617}
parent 9d6c42ce
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
// //
// Flags: --allow-natives-syntax --opt --no-always-opt // Flags: --allow-natives-syntax --opt --no-always-opt
// Flags: --no-stress-flush-bytecode
let arr = [1, 2, 3]; let arr = [1, 2, 3];
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
// //
// Flags: --allow-natives-syntax --opt --no-always-opt // Flags: --allow-natives-syntax --opt --no-always-opt
// Flags: --no-stress-flush-bytecode
let string = "foobar"; let string = "foobar";
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
// Flags: --allow-natives-syntax --nostress-opt --opt // Flags: --allow-natives-syntax --nostress-opt --opt
// Flags: --no-stress-flush-bytecode
function test(f, iterations) { function test(f, iterations) {
%PrepareFunctionForOptimization(f); %PrepareFunctionForOptimization(f);
......
...@@ -255,6 +255,7 @@ ...@@ -255,6 +255,7 @@
'regress/regress-crbug-137689': [SKIP], 'regress/regress-crbug-137689': [SKIP],
'regress/regress-trap-allocation-memento': [SKIP], 'regress/regress-trap-allocation-memento': [SKIP],
'regress/regress-2249': [SKIP], 'regress/regress-2249': [SKIP],
'regress/regress-3709': [SKIP],
'regress/regress-4121': [SKIP], 'regress/regress-4121': [SKIP],
'regress/regress-6989': [SKIP], 'regress/regress-6989': [SKIP],
'compare-known-objects-slow': [SKIP], 'compare-known-objects-slow': [SKIP],
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
// Flags: --allow-natives-syntax --opt --no-always-opt // Flags: --allow-natives-syntax --opt --no-always-opt
// Flags: --no-stress-flush-bytecode
function f(len) { function f(len) {
return new Array(len); return new Array(len);
......
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