Author: [email protected]
Date: Thu Jul 2 04:49:39 2009
New Revision: 2337
Modified:
branches/bleeding_edge/src/spaces.h
Log:
X64: Align start of remembered set to a 4-byte boundary
Review URL: http://codereview.chromium.org/151198
Modified: branches/bleeding_edge/src/spaces.h
==============================================================================
--- branches/bleeding_edge/src/spaces.h (original)
+++ branches/bleeding_edge/src/spaces.h Thu Jul 2 04:49:39 2009
@@ -230,7 +230,9 @@
static const int kRSetEndOffset = kRSetOffset + kPageSize /
kBitsPerPointer;
// The start offset of the object area in a page.
- static const int kObjectStartOffset = kRSetEndOffset;
+ // This needs to be at least (bits per uint32_t) * kBitsPerPointer,
+ // to align start of rset to a uint32_t address.
+ static const int kObjectStartOffset = 256;
// The start offset of the remembered set in a page.
static const int kRSetStartOffset = kRSetOffset +
--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---