When we convert the image from one color profile to another one we copy data to 
the temp array, and after conversion, we commit both(src and dst). But the 
source array could be discarded since we do not(should not) change it. 

Tested on windows (fastest result after a few runs). ThreadsMAX is 32 threads. 
The test is just a "ColorConvertOp.filter()" for the opaque buffered image.

![images](https://user-images.githubusercontent.com/14138494/152925400-cf248f88-e2ba-47ec-8d58-71784026ff8a.png)

https://jmh.morethan.io/?gists=541569ac2fe6173d471455d282680fa2,d3b91e1fba067c71fc73a6df8d47773f

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

Commit messages:
 - JNI_ABORT

Changes: https://git.openjdk.java.net/jdk/pull/7375/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7375&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8281419
  Stats: 10 lines in 1 file changed: 1 ins; 0 del; 9 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7375.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7375/head:pull/7375

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

Reply via email to