On Thu, 22 May 2025 14:30:13 GMT, Jayathirth D V <j...@openjdk.org> wrote:
>> Is it possible that it is somehow related to 8304825? could be the layer >> created "during display sleep" and that might be in "sleep" more that 5 >> seconds? > >> Is it possible that it is somehow related to 8304825? could be the layer >> created "during display sleep" and that might be in "sleep" more that 5 >> seconds? > > This is a follow-up fix for JDK-8304825. Basically we have a race condition > because of timing issue when we are rendering many frame with animations. On > screen wakeup CVDisplayLinkCreateWithActiveCGDisplays is failing because > Active display list is still empty and we never create a displayLink and > content to MTLLayer are never updated. By adding 5 retries with 1 second gap > after screen wakeup we are making sure that we are able to create displayLink > for all active displays. @jayathirthrao What is about my comments? ------------- PR Comment: https://git.openjdk.org/jdk/pull/25342#issuecomment-2903974626