-
Bug
-
Resolution: Fixed
-
P4
-
8, 9
-
b23
-
generic
-
generic
When the graphics object is created for BufferedImage it will call:
GraphicsEnvironment env = GraphicsEnvironment.getLocalGraphicsEnvironment();
return env.createGraphics(this);
The problem is that getLocalGraphicsEnvironment() is a static and synchronized method. So even if the application will draw to the different BufferedImages using different threads, it will be blocked in this method.
GraphicsEnvironment env = GraphicsEnvironment.getLocalGraphicsEnvironment();
return env.createGraphics(this);
The problem is that getLocalGraphicsEnvironment() is a static and synchronized method. So even if the application will draw to the different BufferedImages using different threads, it will be blocked in this method.
- csr for
-
JDK-8185542 Expensive multi-core choke point when any graphics objects are created
-
- Closed
-