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

Unified Diff: Source/web/WebHeap.cpp

Issue 1160143002: Oilpan: Always enter a GCScope when we run a GC (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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 | « Source/platform/heap/ThreadState.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebHeap.cpp
diff --git a/Source/web/WebHeap.cpp b/Source/web/WebHeap.cpp
index 83cf3ecccf272b95ae9c47504cbf32d1d2e5fed8..9556cd8dee04ac1a114d8e2f7e10bc40c63e41e0 100644
--- a/Source/web/WebHeap.cpp
+++ b/Source/web/WebHeap.cpp
@@ -37,7 +37,8 @@ namespace blink {
WebHeap::SafePointScope::SafePointScope()
{
- ThreadState::current()->enterSafePointWithPointers(this);
+ RELEASE_ASSERT(!ThreadState::current()->isAtSafePoint());
+ ThreadState::current()->enterSafePoint(ThreadState::HeapPointersOnStack, this);
}
WebHeap::SafePointScope::~SafePointScope()
« no previous file with comments | « Source/platform/heap/ThreadState.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698