Chromium Code Reviews| Index: third_party/WebKit/Source/platform/heap/ThreadState.cpp |
| diff --git a/third_party/WebKit/Source/platform/heap/ThreadState.cpp b/third_party/WebKit/Source/platform/heap/ThreadState.cpp |
| index ce2ba90164c3810e91c762226146f62924a43ce1..408f1739f12cba4f161e838a798a3cf759656266 100644 |
| --- a/third_party/WebKit/Source/platform/heap/ThreadState.cpp |
| +++ b/third_party/WebKit/Source/platform/heap/ThreadState.cpp |
| @@ -1139,10 +1139,12 @@ void ThreadState::poisonAllHeaps() { |
| // Poisoning all unmarked objects in the other arenas. |
| for (int i = 1; i < BlinkGC::NumberOfArenas; i++) |
| m_arenas[i]->poisonArena(); |
| + ProcessHeap::crossThreadPersistentRegion().unpoisonCrossThreadPersistents(); |
|
haraken
2016/10/17 07:32:40
Add a comment about why we do this.
keishi
2016/10/17 07:43:00
Done.
|
| } |
| void ThreadState::poisonEagerArena() { |
| m_arenas[BlinkGC::EagerSweepArenaIndex]->poisonArena(); |
| + ProcessHeap::crossThreadPersistentRegion().unpoisonCrossThreadPersistents(); |
| } |
| #endif |