On Thu, 13 Apr 2023 15:34:41 GMT, Andrey Turbanov <[email protected]> wrote:

>> Dmitry Cherepanov has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   locate synchronized
>
> src/java.desktop/share/classes/sun/java2d/loops/GraphicsPrimitiveMgr.java 
> line 270:
> 
>> 268:         }
>> 269: 
>> 270:         static GraphicsPrimitive locate(int primTypeID) {
> 
> it should be marked as `synchronized` too. Otherwise there will possible data 
> race between other thread called `register`

Fixed, thanks

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13459#discussion_r1166996384

Reply via email to