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

Unified Diff: test/cctest/test-heap.cc

Issue 136813002: Enable allocation site pretenuring. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 11 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.cc ('k') | test/mjsunit/elements-kind.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-heap.cc
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc
index d5fae581deb8fb96b8fda9270cfd5341ef76de80..493cbd3e2f23f307f29233d355a72098ea4d284e 100644
--- a/test/cctest/test-heap.cc
+++ b/test/cctest/test-heap.cc
@@ -2240,7 +2240,7 @@ TEST(OptimizedPretenuringAllocationFoldingBlocks) {
CcTest::heap()->SetNewSpaceHighPromotionModeActive(true);
v8::Local<v8::Value> res = CompileRun(
- "var number_elements = 3000;"
+ "var number_elements = 30000;"
"var elements = new Array(number_elements);"
"function DataObject() {"
" this.a = [{}];"
@@ -2345,7 +2345,7 @@ TEST(OptimizedPretenuringDoubleArrayProperties) {
v8::HandleScope scope(CcTest::isolate());
v8::Local<v8::Value> res = CompileRun(
- "var number_elements = 20000;"
+ "var number_elements = 30000;"
"var elements = new Array(number_elements);"
"function f() {"
" for (var i = 0; i < number_elements; i++) {"
« no previous file with comments | « src/objects.cc ('k') | test/mjsunit/elements-kind.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698