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

Unified Diff: src/api.cc

Issue 2498163003: Revert of [serializer] print use count of external references. (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | src/external-reference-table.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/api.cc
diff --git a/src/api.cc b/src/api.cc
index 8eca750f268727784f14142db40342640ba187c1..69bcf7d756ab369d0b9003bccd3f1161c33323f7 100644
--- a/src/api.cc
+++ b/src/api.cc
@@ -559,10 +559,6 @@
}
data->contexts_.Clear();
-#ifdef DEBUG
- i::ExternalReferenceTable::instance(isolate)->ResetCount();
-#endif // DEBUG
-
i::StartupSerializer startup_serializer(isolate, function_code_handling);
startup_serializer.SerializeStrongReferences();
@@ -576,13 +572,6 @@
}
startup_serializer.SerializeWeakReferencesAndDeferred();
-
-#ifdef DEBUG
- if (i::FLAG_external_reference_stats) {
- i::ExternalReferenceTable::instance(isolate)->PrintCount();
- }
-#endif // DEBUG
-
i::SnapshotData startup_snapshot(&startup_serializer);
StartupData result =
i::Snapshot::CreateSnapshotBlob(&startup_snapshot, &context_snapshots);
« no previous file with comments | « no previous file | src/external-reference-table.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698