On Tue, 28 Sep 2021 10:02:52 GMT, Prasanta Sadhukhan <psadhuk...@openjdk.org> 
wrote:

>> java/awt/FullScreen/UninitializedDisplayModeChangeTest/UninitializedDisplayModeChangeTest.java
>>  is timing out every time on macOS 12 even though the test passed.
>> Looks like the the main process waits for child process created in the test 
>> forever, making it timeout after jtreg timeout of 2min.
>> Modified to wait for childprocess for 30secs.
>
> Prasanta Sadhukhan has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   Remove thread blocking

Why it is considered a workaround? There are many instances where we use 
[ThreadUtilities performOnMainThreadWaiting:NO block:^() 
and it seems CGCompleteDisplayConfiguration might have a tendancy to take time 
https://github.com/jakehilborn/displayplacer/pull/72/files
https://github.com/jakehilborn/displayplacer/issues/28
so it might be good to place the call not in blocking thread

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

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

Reply via email to