RFR: 8290344: Start/stop displaysync affects performance in metal rendering pipeline [v2]

Alexey Ushakov alexey.ushakov at jetbrains.com
Mon Aug 29 17:33:10 UTC 2022



> 
> Stopping DisplayLink once we are done with blitting was used to fix https://bugs.openjdk.org/browse/JDK-8259038 . I think with displayLink active count as 4 we might see unnecessary(~4) displayLink callbacks when we just draw text and leave it as noticed in the bug.  But i think this tradeoff is fine as we are trying to achieve balance between power and performance.
> 
> Also this change should not cause state management issues as we are just maintaining displayLink for longer time. @avu Could you please verify that we are not seeing issues like https://bugs.openjdk.org/browse/JDK-8247332 ?

I’ve checked the scenario from JDK-8247332 - everything works as expected.

Best Regards,
Alexey

> 
> -------------
> 
> PR: https://git.openjdk.org/jdk/pull/9512




More information about the client-libs-dev mailing list