RFR: 8253262: Allocate in DumpRegion is not thread safe

Calvin Cheung ccheung at openjdk.java.net
Thu Sep 17 16:16:01 UTC 2020


On Thu, 17 Sep 2020 04:52:29 GMT, Yumin Qi <minqi at openjdk.org> wrote:

> At CDS dump, the symbols are allocated from _dump_region (DumpRegion) which is global, and not thread safe when
> executed in JavaThread. Add a lock DumpRegoin_lock to guard symbol allocation from it.
> Tests: tier1-4

Looks good.

-------------

Marked as reviewed by ccheung (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/216


More information about the hotspot-dev mailing list