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

Unified Diff: test/mjsunit/regress/regress-399527.js

Issue 439233002: Remove all encountered weak maps from the list of weak collections when incremental marking is abor… (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 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/mark-compact.cc ('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-399527.js
diff --git a/test/mjsunit/regress/regress-361025.js b/test/mjsunit/regress/regress-399527.js
similarity index 62%
copy from test/mjsunit/regress/regress-361025.js
copy to test/mjsunit/regress/regress-399527.js
index 74f50d86e8db982902b700ad7c1dcc56194710eb..df7d1685d9af8be802f65cb0dcf640ee2fe24f1f 100644
--- a/test/mjsunit/regress/regress-361025.js
+++ b/test/mjsunit/regress/regress-399527.js
@@ -4,7 +4,10 @@
// Flags: --expose-gc
-var x = new Object();
-x.__defineGetter__('a', function() { return 7 });
-JSON.parse('{"a":2600753951}');
+var weak_map = new WeakMap;
+var v = "[1]";
+for (var i = 0; i < 100000; i++) {
Michael Starzinger 2014/08/04 09:58:20 This test looks long-running is there any way we c
+ v = "[1," + v + "]";
+}
+weak_map = {};
gc();
« no previous file with comments | « src/mark-compact.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698