[jdk11u-dev] RFR: 6986863: ProfileDeferralMgr throwing ConcurrentModificationException
Sergey Bylokhov
serb at openjdk.java.net
Mon Feb 21 21:02:41 UTC 2022
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.
-------------
Commit messages:
- Backport 64a150c518ed1a936cd6e4cb5e60060243496901
Changes: https://git.openjdk.java.net/jdk11u-dev/pull/834/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk11u-dev&pr=834&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-6986863
Stats: 518 lines in 9 files changed: 183 ins; 263 del; 72 mod
Patch: https://git.openjdk.java.net/jdk11u-dev/pull/834.diff
Fetch: git fetch https://git.openjdk.java.net/jdk11u-dev pull/834/head:pull/834
PR: https://git.openjdk.java.net/jdk11u-dev/pull/834
More information about the jdk-updates-dev
mailing list