Description
At CDS dump time, allocating symbol from DumpRegion is not protected in MT mode. There is time issue and it will trigger assert in debug or crash in product though it is very rarely. We need a lock to protect DumpRegion in MetaspaceShared::symbol_space_alloc(...).