JVM hang with Swing and macOS
Sergey Bylokhov
bylokhov at amazon.com
Mon Mar 20 19:12:09 UTC 2023
On 3/16/23 12:15, Alan Snyder wrote:
> The test for already being on the main thread should be performed in one place, in this method:
>
>> On Mar 16, 2023, at 6:07 AM, Michael Hall <mik3hall at gmail.com> wrote:
>>
>> [ThreadUtilities performOnMainThreadWaiting:YES block:^(){
That check is already there:
https://github.com/openjdk/jdk/blob/master/src/java.desktop/macosx/native/libosxapp/ThreadUtilities.m#L103
--
Best regards, Sergey.
More information about the client-libs-dev
mailing list