[OpenJDK 2D-Dev] Rendering images from PDF files slower in OpenJDK

Laurent Bourgès bourges.laurent at gmail.com
Tue Oct 2 16:35:58 UTC 2018

Hi Daniel,

> Let's not compare apples and oranges. What I can see it takes the same
> route and behave similarly.

 I agree, I did not take enough time to get accurate profiles, sorry.

> If you look at
> http://uhash.com/java_reg/Call_Tree_java_8.html
> http://uhash.com/java_reg/Call_Tree_java_11.html
> You can see that ConvertOp.filter takes 1.5s longer on Java 11.

I confirm: 1.8s vs 300ms.

Philip, do you know what could have change in this 2d area ?

I imagine ColorConvertOp delegates to native code so color profile (ICC) or
hidpi support may have an impact here (or just compiler options may be
different) ...

If needed, I could profile native code using oprofile / perf.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/2d-dev/attachments/20181002/4705aa49/attachment.html>

More information about the 2d-dev mailing list