Integrated: 8253262: Allocate in DumpRegion is not thread safe

Yumin Qi minqi at openjdk.java.net
Thu Sep 17 16:59:52 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

This pull request has now been integrated.

Changeset: 12dfe1c9
Author:    Yumin Qi <minqi at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/12dfe1c9
Stats:     12 lines in 3 files changed: 0 ins; 5 del; 7 mod

8253262: Allocate in DumpRegion is not thread safe

Reviewed-by: ccheung

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

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


More information about the hotspot-dev mailing list