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

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

Issue 2313243002: Reland of "[heap] Switch to 500k pages" (Closed)
Patch Set: Test fixes (general fixes are in dependent CL) Created 4 years, 3 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:
Download patch
« no previous file with comments | « test/cctest/heap/test-page-promotion.cc ('k') | test/cctest/test-strings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-api.cc
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
index 2af9d2ebbcbb23d753f1906853bfa2513c4b6f89..11ec7dced5c90615b06d2b79d8876a23397b7c84 100644
--- a/test/cctest/test-api.cc
+++ b/test/cctest/test-api.cc
@@ -20105,12 +20105,10 @@ class InitDefaultIsolateThread : public v8::base::Thread {
void Run() {
v8::Isolate::CreateParams create_params;
create_params.array_buffer_allocator = CcTest::array_buffer_allocator();
- const intptr_t pageSizeMult =
- v8::internal::Page::kPageSize / v8::internal::MB;
switch (testCase_) {
case SetResourceConstraints: {
- create_params.constraints.set_max_semi_space_size(1 * pageSizeMult);
- create_params.constraints.set_max_old_space_size(4 * pageSizeMult);
+ create_params.constraints.set_max_semi_space_size(1);
+ create_params.constraints.set_max_old_space_size(6);
break;
}
default:
« no previous file with comments | « test/cctest/heap/test-page-promotion.cc ('k') | test/cctest/test-strings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698