RFR(S) 8246181: Avoid walking SymbolTable during -Xshare:dump
yumin.qi at oracle.com
Tue Jun 23 21:44:32 UTC 2020
Hi, Please review
Summary: This is a little different from the bug suggested
implementation. To avoid working the SymbolTable during dump, the symbol
is added to a global array when it is created,
SymbolTable::do_add_if_needed. The symbol only created once during its
lifetime. There is just little performance overhead for runtime.
Tests: local jtreg on runtime/cds/appcds for debug/release.
More information about the hotspot-runtime-dev