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 f090ee923ecfa4f9044f98d399921767c794ac6c..e4dd1f7fd86e77e3ad96b0cc037fe8e2934458a0 100644 |
--- a/third_party/WebKit/Source/platform/heap/ThreadState.cpp |
+++ b/third_party/WebKit/Source/platform/heap/ThreadState.cpp |
@@ -110,6 +110,7 @@ ThreadState::ThreadState() |
gc_forbidden_count_(0), |
mixins_being_constructed_count_(0), |
accumulated_sweeping_time_(0), |
+ object_ressurection_forbidden_(false), |
vector_backing_arena_index_(BlinkGC::kVector1ArenaIndex), |
current_arena_ages_(0), |
gc_mixin_marker_(nullptr), |
@@ -1268,6 +1269,7 @@ void ThreadState::InvokePreFinalizers() { |
SweepForbiddenScope sweep_forbidden(this); |
ScriptForbiddenIfMainThreadScope script_forbidden; |
+ ObjectRessurectionForbiddenScope object_ressurection_forbidden(this); |
haraken
2017/04/12 11:03:37
Add a comment.
keishi
2017/04/13 05:22:43
Done.
|
double start_time = WTF::CurrentTimeMS(); |
if (!ordered_pre_finalizers_.IsEmpty()) { |