[OpenJDK 2D-Dev] [10] Review Request: 8185093 Expensive multi-core choke point when any graphics objects are created

Laurent Bourgès bourges.laurent at gmail.com
Tue Jul 25 07:10:34 UTC 2017


That's very interesting: I optimized the renderer to be perfectly scalable
(thread local), but I agree there are still several places with static
fields (single thread optimization) or synchronized methods...

The main issue which I would like to clarify is it possible to remove
synchronize keyword from the getLocalGraphicsEnvironment(), possibly with
updating a specification? We have similar issues in other parts of code
which I would like to update later after this one.

Could you give more details on your findings ?

I recently figured out that TexturePaint suffers such a problem...

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

More information about the 2d-dev mailing list