Index: src/serialize.cc |
diff --git a/src/serialize.cc b/src/serialize.cc |
index 6c5a620a4181def5ac64f7daff5bb89e78b5f87b..746c926653d6a21aa8f1674f33c53ce0cf0196aa 100644 |
--- a/src/serialize.cc |
+++ b/src/serialize.cc |
@@ -1304,6 +1304,7 @@ void StartupSerializer::SerializeStrongReferences() { |
// No active or weak handles. |
CHECK(isolate->handle_scope_implementer()->blocks()->is_empty()); |
CHECK_EQ(0, isolate->global_handles()->NumberOfWeakHandles()); |
+ CHECK_EQ(0, isolate->eternal_handles()->NumberOfHandles()); |
// We don't support serializing installed extensions. |
CHECK(!isolate->has_installed_extensions()); |