RFR: 8253262: Allocate in DumpRegion is not thread safe
David Holmes
dholmes at openjdk.java.net
Thu Sep 17 06:26:20 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 seems okay but isn't dumping done at a safepoint?
-------------
PR: https://git.openjdk.java.net/jdk/pull/216
More information about the hotspot-dev
mailing list