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

Unified Diff: runtime/vm/symbols.h

Issue 2638173002: Compact the symbol table when creating core snapshots or JIT app snapshots. (Closed)
Patch Set: Created 3 years, 11 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 | « runtime/vm/isolate.cc ('k') | runtime/vm/symbols.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/symbols.h
diff --git a/runtime/vm/symbols.h b/runtime/vm/symbols.h
index c7f3a0c4e663eb94a16473fa619d6e080cd0b8db..7de54f525dca6408a3ff67acb48fe14995a31222 100644
--- a/runtime/vm/symbols.h
+++ b/runtime/vm/symbols.h
@@ -571,10 +571,8 @@ class Symbols : public AllStatic {
static RawArray* UnifiedSymbolTable();
-#if defined(DART_PRECOMPILER)
// Treat the symbol table as weak and collect garbage.
static void Compact(Isolate* isolate);
-#endif
// Creates a Symbol given a C string that is assumed to contain
// UTF-8 encoded characters and '\0' is considered a termination character.
@@ -637,7 +635,7 @@ class Symbols : public AllStatic {
return reinterpret_cast<RawString**>(&predefined_);
}
- static void DumpStats();
+ static void DumpStats(Isolate* isolate);
// Returns Symbol::Null if no symbol is found.
template <typename StringType>
« no previous file with comments | « runtime/vm/isolate.cc ('k') | runtime/vm/symbols.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698