Re: [OpenJDK 2D-Dev] RFR: 8254024: Enhance native libs for AWT and Swing to work with GraalVM Native Image

2020-11-04 Thread Andrii Rodionov
On Fri, 16 Oct 2020 04:49:37 GMT, Sergey Bylokhov wrote: >>> > > How it is possible to test the current changes? >>> > >>> > >>> > For GraalVM native image, we run JCK tests `api/java_awt` and >>> > `api/javax_swing`. Those tests built as a native image. >>> >>> I meant some "steps to reprodu

[OpenJDK 2D-Dev] RFR: 8255575: java.awt.color.ICC_ColorSpace is not thread-safe

2020-11-04 Thread Sergey Bylokhov
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

[OpenJDK 2D-Dev] RFR: 8255920: J2DBench should support CS_PYCC color profile

2020-11-04 Thread Sergey Bylokhov
Support of the CS_PYCC color profile is added to the J2DBench. - Commit messages: - Update CMMTests.java Changes: https://git.openjdk.java.net/jdk/pull/1072/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1072&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8