Revision: 11630
Author: [email protected]
Date: Wed May 23 04:17:22 2012
Log: Change sentinel value for zapping of old-to-new pointers.
[email protected]
BUG=v8:2143
Review URL: https://chromiumcodereview.appspot.com/10411089
http://code.google.com/p/v8/source/detail?r=11630
Modified:
/branches/bleeding_edge/src/mark-compact.cc
=======================================
--- /branches/bleeding_edge/src/mark-compact.cc Wed May 16 03:07:50 2012
+++ /branches/bleeding_edge/src/mark-compact.cc Wed May 23 04:17:22 2012
@@ -2738,7 +2738,9 @@
// We have to zap this pointer, because the store buffer may overflow
later,
// and then we have to scan the entire heap and we don't want to find
// spurious newspace pointers in the old space.
- *p = reinterpret_cast<HeapObject*>(Smi::FromInt(0));
+ // TODO(mstarzinger): This was changed to a sentinel value to track
down
+ // rare crashes, change it back to Smi::FromInt(0) later.
+ *p = reinterpret_cast<HeapObject*>(Smi::FromInt(0x0f100d00 >> 1)); //
flood
}
}
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev