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

Unified Diff: test/mjsunit/ensure-growing-store-learns.js

Issue 2827263004: Fix HashTable growth strategy to be 2x instead of 4x (Closed)
Patch Set: update CSA; fix test Created 3 years, 8 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/objects-inl.h ('k') | test/unittests/object-unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/ensure-growing-store-learns.js
diff --git a/test/mjsunit/ensure-growing-store-learns.js b/test/mjsunit/ensure-growing-store-learns.js
index 659ff0d66ec2b395f674177c83f1ee0f54eb8f8f..4ecc9f1cf3ca193b07f554f1f6132ae534d35d41 100644
--- a/test/mjsunit/ensure-growing-store-learns.js
+++ b/test/mjsunit/ensure-growing-store-learns.js
@@ -65,11 +65,11 @@
assertTrue(%HasFastSmiElements(a));
// Grow a large array into large object space through the keyed store
- // without deoptimizing. Grow by 10s. If we set elements too sparsely, the
+ // without deoptimizing. Grow by 9s. If we set elements too sparsely, the
// array will convert to dictionary mode.
a = new Array(99999);
assertTrue(%HasFastSmiElements(a));
- for (var i = 0; i < 263000; i += 10) {
+ for (var i = 0; i < 263000; i += 9) {
foo2(a, i);
}
« no previous file with comments | « src/objects-inl.h ('k') | test/unittests/object-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698