RFR: 8317287: [macos14] InterJVMGetDropSuccessTest.java: Child VM: abnormal termination [v6]

Alexandre Iline shurailine at openjdk.org
Tue Nov 28 19:36:08 UTC 2023


On Tue, 21 Nov 2023 08:37:00 GMT, songpv-imt <duke at 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


More information about the client-libs-dev mailing list