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

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

Issue 2775573003: Experiment: disallow prefinalizer allocation.
Patch Set: Created 3 years, 9 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 | « third_party/WebKit/Source/platform/heap/HeapTest.cpp ('k') | 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/ThreadState.cpp
diff --git a/third_party/WebKit/Source/platform/heap/ThreadState.cpp b/third_party/WebKit/Source/platform/heap/ThreadState.cpp
index 7821c47460851bc5fc5f97655589dd892f877750..fb4d2e515ded9304310ee4ed0040d8a17b1ef3df 100644
--- a/third_party/WebKit/Source/platform/heap/ThreadState.cpp
+++ b/third_party/WebKit/Source/platform/heap/ThreadState.cpp
@@ -1263,6 +1263,7 @@ void ThreadState::invokePreFinalizers() {
SweepForbiddenScope sweepForbidden(this);
ScriptForbiddenIfMainThreadScope scriptForbidden;
+ NoAllocationScope noAllocationScope(this);
double startTime = WTF::currentTimeMS();
if (!m_orderedPreFinalizers.isEmpty()) {
« no previous file with comments | « third_party/WebKit/Source/platform/heap/HeapTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698