Reviewers: Mads Ager, Description: Increase new space size and limits on 64-bit platforms.
Please review this at http://codereview.chromium.org/171105 SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/heap.h M src/heap.cc Index: src/heap.cc =================================================================== --- src/heap.cc (revision 2703) +++ src/heap.cc (working copy) @@ -73,6 +73,10 @@ int Heap::semispace_size_ = 512*KB; int Heap::old_generation_size_ = 128*MB; int Heap::initial_semispace_size_ = 128*KB; +#elseif defined(V8_TARGET_ARCH_X64) +int Heap::semispace_size_ = 8*MB; +int Heap::old_generation_size_ = 1*GB; +int Heap::initial_semispace_size_ = 1*MB; #else int Heap::semispace_size_ = 4*MB; int Heap::old_generation_size_ = 512*MB; Index: src/heap.h =================================================================== --- src/heap.h (revision 2703) +++ src/heap.h (working copy) @@ -852,7 +852,11 @@ static const int kMaxMapSpaceSize = 8*MB; +#if defined(V8_TARGET_ARCH_X64) + static const int kMaxObjectSizeInNewSpace = 512*KB; +#else static const int kMaxObjectSizeInNewSpace = 256*KB; +#endif static NewSpace new_space_; static OldSpace* old_pointer_space_; --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
