On Mon, 3 Apr 2023 09:58:18 GMT, Dmitry Cherepanov <[email protected]> 
wrote:

>> It seems that the root cause is a cyclic dependency between 
>> GraphicsPrimitiveMgr and Blit during static initialization
>
>> Will we call "updateIconImages" when later we show the window or an update 
>> of the icons will be missed if the notification come when the window is 
>> invisible?
> 
> updateIconImages() will still be called from WWindowPeer.initialize() when we 
> show a new window

> It seems that the root cause is a cyclic dependency between 
> GraphicsPrimitiveMgr and Blit during static initialization

Right, the deadlock might be possible in other scenarios. But it manifests 
itself more frequently after JDK-8276849 and the change fixes the regression.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13263#discussion_r1155747797

Reply via email to