[OpenJDK 2D-Dev] RFR: JDK-8263467: Incorrect double-checked locking in sun.java2d.CRenderer

Sergey Bylokhov serb at openjdk.java.net
Sat May 8 18:45:08 UTC 2021


On Mon, 15 Mar 2021 07:00:59 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> I guess that synchronization became redundant because the field was moved to the local var. But before that, it guarded the method in question for multithreaded access and that was not part of the DCL. So it will be better to return those fields back.

Is not approved yet, see above.

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

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


More information about the 2d-dev mailing list