RFR: 8317287: [macos14] InterJVMGetDropSuccessTest.java: Child VM: abnormal termination [v6]
songpv-imt
duke at openjdk.org
Fri Dec 1 09:21:05 UTC 2023
On Tue, 28 Nov 2023 19:32:56 GMT, Alexandre Iline <shurailine 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.
>
>> 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.
@shurymury The last code commit has implemented the changes based on your suggestion. Can you please advise what other step I should take to complete this bug ? Thanks.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/16396#issuecomment-1835745445
More information about the client-libs-dev
mailing list