Revision: 2860
Author: [email protected]
Date: Wed Sep  9 05:08:40 2009
Log: Fix x64 port by using 32 pages per chunk.

[email protected]
Review URL: http://codereview.chromium.org/195038
http://code.google.com/p/v8/source/detail?r=2860

Modified:
  /branches/bleeding_edge/src/spaces.h

=======================================
--- /branches/bleeding_edge/src/spaces.h        Wed Sep  9 04:06:22 2009
+++ /branches/bleeding_edge/src/spaces.h        Wed Sep  9 05:08:40 2009
@@ -447,7 +447,11 @@
    static const int kMaxNofChunks = 1 << Page::kPageSizeBits;
    // If a chunk has at least 16 pages, the maximum heap size is about
    // 8K * 8K * 16 = 1G bytes.
+#ifdef V8_TARGET_ARCH_X64
+  static const int kPagesPerChunk = 32;
+#else
    static const int kPagesPerChunk = 16;
+#endif
    static const int kChunkSize = kPagesPerChunk * Page::kPageSize;

   private:

--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to