Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(296)

Unified Diff: third_party/WebKit/Source/platform/heap/PersistentNode.cpp

Issue 2415363002: Unpoison CrossThreadPersistents (Closed)
Patch Set: fix Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/heap/PersistentNode.cpp
diff --git a/third_party/WebKit/Source/platform/heap/PersistentNode.cpp b/third_party/WebKit/Source/platform/heap/PersistentNode.cpp
index cb47bcf10b39766b61a1f4f99d3d733d0381e78f..af05fd588bd8331c51264dd835b36c5245798589 100644
--- a/third_party/WebKit/Source/platform/heap/PersistentNode.cpp
+++ b/third_party/WebKit/Source/platform/heap/PersistentNode.cpp
@@ -87,6 +87,8 @@ void PersistentRegion::tracePersistentNodes(Visitor* visitor,
int freeCount = 0;
for (int i = 0; i < PersistentNodeSlots::slotCount; ++i) {
PersistentNode* node = &slots->m_slot[i];
+ ASAN_UNPOISON_MEMORY_REGION(node->self(),
+ sizeof(CrossThreadPersistent<void*>));
haraken 2016/10/17 03:55:22 Would you help me understand who poisons the memor
if (node->isUnused()) {
if (!freeListNext)
freeListLast = node;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698