New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
8255575: java.awt.color.ICC_ColorSpace is not thread-safe #1069
Conversation
|
/label remove awt |
@mrserb |
@mrserb This change now passes all automated pre-integration checks. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 82 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.
|
/integrate |
@mrserb Since your change was applied there have been 83 commits pushed to the
Your commit was automatically rebased without conflicts. Pushed as commit 2cad836. |
The ICC_ColorSpace class uses a couple of internal data caches that might be used w/o any synchronization by different threads.
The solution is to wrap the initialization of the cached data by the DLC. I have checked performance impact by the J2DBench and it seems no big difference before/after the fix.
BTW jdk16 in some cases x10 times faster than 8u and 11u. Probably we should backport something, will check that.
Progress
Testing
Issue
Reviewers
Download
$ git fetch https://git.openjdk.java.net/jdk pull/1069/head:pull/1069
$ git checkout pull/1069