Revision: 9922 Author: [email protected] Date: Wed Nov 9 01:51:54 2011 Log: Fix size of store buffer to depend on pointer size.
This makes the store buffer size depend on the pointer size so that store buffers can hold the same number of entries on all architectures. The number of pages marked scan-on-scavenge should decrease on x64 and performance of splay should drastically improve on x64. [email protected] Review URL: http://codereview.chromium.org/8498013 http://code.google.com/p/v8/source/detail?r=9922 Modified: /branches/bleeding_edge/src/store-buffer.h ======================================= --- /branches/bleeding_edge/src/store-buffer.h Mon Sep 19 11:36:47 2011 +++ /branches/bleeding_edge/src/store-buffer.h Wed Nov 9 01:51:54 2011 @@ -81,7 +81,7 @@ // surviving old-to-new pointers into the store buffer to rebuild it. void IteratePointersToNewSpace(ObjectSlotCallback callback); - static const int kStoreBufferOverflowBit = 1 << 16; + static const int kStoreBufferOverflowBit = 1 << (14 + kPointerSizeLog2); static const int kStoreBufferSize = kStoreBufferOverflowBit; static const int kStoreBufferLength = kStoreBufferSize / sizeof(Address); static const int kOldStoreBufferLength = kStoreBufferLength * 16; -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
