Revision: 24738
Author: [email protected]
Date: Mon Oct 20 12:12:51 2014 UTC
Log: Annotate PromotionQueue::RelocateQueueHead for MemorySanitizer.
BUG=chromium:416875
LOG=N
[email protected], [email protected]
Review URL: https://codereview.chromium.org/603633002
https://code.google.com/p/v8/source/detail?r=24738
Modified:
/branches/bleeding_edge/src/heap/heap.cc
=======================================
--- /branches/bleeding_edge/src/heap/heap.cc Thu Oct 16 19:38:32 2014 UTC
+++ /branches/bleeding_edge/src/heap/heap.cc Mon Oct 20 12:12:51 2014 UTC
@@ -1398,6 +1398,10 @@
while (head_start != head_end) {
int size = static_cast<int>(*(head_start++));
HeapObject* obj = reinterpret_cast<HeapObject*>(*(head_start++));
+ // New space allocation in SemiSpaceCopyObject marked the region
+ // overlapping with promotion queue as uninitialized.
+ MSAN_MEMORY_IS_INITIALIZED(&size, sizeof(size));
+ MSAN_MEMORY_IS_INITIALIZED(&obj, sizeof(obj));
emergency_stack_->Add(Entry(obj, size));
}
rear_ = head_end;
--
--
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.