Index: test/mjsunit/regress/regress-set-flags-stress-compact.js |
diff --git a/test/mjsunit/regress/regress-355486.js b/test/mjsunit/regress/regress-set-flags-stress-compact.js |
similarity index 63% |
copy from test/mjsunit/regress/regress-355486.js |
copy to test/mjsunit/regress/regress-set-flags-stress-compact.js |
index 55362a13416335b72bfa1ff92bc29f7a04edbd65..5bc59a7e1107fa2938029ebde868caf502fe3997 100644 |
--- a/test/mjsunit/regress/regress-355486.js |
+++ b/test/mjsunit/regress/regress-set-flags-stress-compact.js |
@@ -4,10 +4,7 @@ |
// Flags: --allow-natives-syntax |
-function f() { var v = arguments[0]; } |
-function g() { f(); } |
+%SetFlags("--gc-interval=164 --stress-compaction"); |
-g(); |
-g(); |
-%OptimizeFunctionOnNextCall(g); |
-g(); |
+var a = []; |
+for (var i = 0; i < 10000; i++) { a[i * 100] = 0; } |