| Index: test/cctest/test-api.cc
|
| diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
|
| index 78ecc36d6ad6eec74e4e0da1dbbcd0821388aa14..5382de65adc6a7cbc384ecff07c22909830dd284 100644
|
| --- a/test/cctest/test-api.cc
|
| +++ b/test/cctest/test-api.cc
|
| @@ -19465,7 +19465,7 @@ class InitDefaultIsolateThread : public v8::internal::Thread {
|
| case SetResourceConstraints: {
|
| static const int K = 1024;
|
| v8::ResourceConstraints constraints;
|
| - constraints.set_max_young_space_size(256 * K);
|
| + constraints.set_max_new_space_size(256 * K);
|
| constraints.set_max_old_space_size(4 * K * K);
|
| v8::SetResourceConstraints(CcTest::isolate(), &constraints);
|
| break;
|
|
|