[jdk11u-dev] Integrated: 6986863: ProfileDeferralMgr throwing ConcurrentModificationException

Sergey Bylokhov serb at openjdk.java.net
Sun Mar 27 22:04:52 UTC 2022


On Sat, 19 Feb 2022 04:20:24 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> This is backport of the fix for [JDK-6986863](https://bugs.openjdk.java.net/browse/JDK-6986863), pushed to the [JDK 17](https://github.com/openjdk/jdk/commit/64a150c518ed1a936cd6e4cb5e60060243496901)
> 
> This change prevents intermittent exceptions in the applications and tests caused by the weak synchronization of the color profiles loading, see additional details [here](https://github.com/openjdk/jdk/pull/1613).
> 
> The new tests failed before and work fine after the fix. No new issues were found by the java_desktop tests.
> The patch is not clean because the [getStandardProfile() ](https://github.com/openjdk/jdk/commit/64a150c518ed1a936cd6e4cb5e60060243496901#diff-b92a36346bec4c6f7d5e8921bd69b038e0932f116d627bb4f6b514e670e1fccdL923)method removed upstream is still used in the jdk11u-dev.

This pull request has now been integrated.

Changeset: e6020c34
Author:    Sergey Bylokhov <serb at openjdk.org>
URL:       https://git.openjdk.java.net/jdk11u-dev/commit/e6020c341c06815e359a19f4467ea4cb371ee438
Stats:     518 lines in 9 files changed: 183 ins; 263 del; 72 mod

6986863: ProfileDeferralMgr throwing ConcurrentModificationException

Reviewed-by: phh
Backport-of: 64a150c518ed1a936cd6e4cb5e60060243496901

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

PR: https://git.openjdk.java.net/jdk11u-dev/pull/834


More information about the jdk-updates-dev mailing list