Chromium Code Reviews| Index: runtime/vm/symbols.h |
| diff --git a/runtime/vm/symbols.h b/runtime/vm/symbols.h |
| index eae0796ff88d36a05c18545ce310d08db6c8b13f..9aca7d225ae56d054940f9f66701c3e7d28daa1d 100644 |
| --- a/runtime/vm/symbols.h |
| +++ b/runtime/vm/symbols.h |
| @@ -572,6 +572,10 @@ class Symbols : public AllStatic { |
| // Initialize and setup a symbol table for the isolate. |
| static void SetupSymbolTable(Isolate* isolate); |
| + // Treat the symbol table as weak and collect garbage. Answer the number of |
| + // freed symbols. |
|
siva
2016/01/27 21:21:10
Maybe
"Returns the number of symbols that have be
rmacnak
2016/01/27 23:06:20
Done.
|
| + static intptr_t Compact(Isolate* isolate); |
| + |
| // Creates a Symbol given a C string that is assumed to contain |
| // UTF-8 encoded characters and '\0' is considered a termination character. |
| // TODO(7123) - Rename this to FromCString(....). |