[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-2d-dev
Subject:    Re: RFR: 8317287: [macos14] InterJVMGetDropSuccessTest.java: Child VM: abnormal termination [v6]
From:       Alexandre Iline <shurailine () openjdk ! org>
Date:       2023-11-28 19:36:08
Message-ID: zt22hWY8tUxfEtKD_bcXr5J2a4YByxfks6iQi9p6dFY=.3be511e7-e243-4945-a7b3-bce078e55b3d () github ! com
[Download RAW message or body]

On Tue, 21 Nov 2023 08:37:00 GMT, songpv-imt <duke@openjdk.org> wrote:

> Hmm... Are you suggesting instead of using SYNC_LOCK, for better code transparency, \
> we should place the code that accesses the listener's fields from the main thread \
> into AWT Event Queue with EventQueue.invokeAndWait? Can you please check if the \
> update code meets your suggestion? Thanks.

Yes. Half of the access to the state of the listener is already on the even queue. It \
would be pretty transparent to make the other part of the access to go through the \
queue.

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

PR Comment: https://git.openjdk.org/jdk/pull/16396#issuecomment-1830542554


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic