On Thu, 5 Nov 2020 01:34:25 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 2cad8368
Author:    Sergey Bylokhov <s...@openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/2cad8368
Stats:     182 lines in 2 files changed: 114 ins; 4 del; 64 mod

8255575: java.awt.color.ICC_ColorSpace is not thread-safe

Reviewed-by: prr

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

PR: https://git.openjdk.java.net/jdk/pull/1069

Reply via email to