RFR: 7903390: Summary reporter getter not thread-safe

David Holmes dholmes at openjdk.org
Fri Dec 2 07:01:42 UTC 2022


On Fri, 2 Dec 2022 06:41:42 GMT, Christian Stein <cstein at openjdk.org> wrote:

> Prevent `ConcurrentModificationException` by making the two static methods that populate the instance map `synchronized`.

Looks reasonable to me.

I have to be concerned about how this new found concurrency bug arises though - was one of the reporter types just added?

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

Marked as reviewed by dholmes (no project role).

PR: https://git.openjdk.org/jtreg/pull/139


More information about the jtreg-dev mailing list