Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(476)

Unified Diff: test/mjsunit/regress/regress-set-flags-stress-compact.js

Issue 261253006: Fix %SetFlags("--stress-compaction") (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Just remove the filler insertion Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/spaces-inl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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; }
« no previous file with comments | « src/spaces-inl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698