@@ -511,17 +511,10 @@ mark_has_items_to_clean(); check_concurrent_work(); } assert((sym == NULL) || sym->refcount() != 0, "found dead symbol"); -#if INCLUDE_CDS - if (DumpSharedSpaces) { - if (sym != NULL) { - MetaspaceShared::add_symbol(sym); - } - } -#endif return sym; } Symbol* SymbolTable::new_permanent_symbol(const char* name) { unsigned int hash = 0;