Revision: 22865
Author: [email protected]
Date: Tue Aug 5 12:04:58 2014 UTC
Log: Precise sweeping makes zapping of garbage memory in UpdatePointer
obsolete.
BUG=
[email protected]
Review URL: https://codereview.chromium.org/440073002
http://code.google.com/p/v8/source/detail?r=22865
Modified:
/branches/bleeding_edge/src/heap/mark-compact.cc
=======================================
--- /branches/bleeding_edge/src/heap/mark-compact.cc Tue Aug 5 11:58:24
2014 UTC
+++ /branches/bleeding_edge/src/heap/mark-compact.cc Tue Aug 5 12:04:58
2014 UTC
@@ -3055,16 +3055,6 @@
reinterpret_cast<base::AtomicWord*>(address),
reinterpret_cast<base::AtomicWord>(object),
reinterpret_cast<base::AtomicWord>(HeapObject::FromAddress(new_addr)));
- } else {
- // 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.
- // TODO(mstarzinger): This was changed to a sentinel value to track
down
- // rare crashes, change it back to Smi::FromInt(0) later.
- base::NoBarrier_CompareAndSwap(
- reinterpret_cast<base::AtomicWord*>(address),
- reinterpret_cast<base::AtomicWord>(object),
- reinterpret_cast<base::AtomicWord>(Smi::FromInt(0x0f100d00 >> 1)));
}
}
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.