RFR: 8348423: [TestBug] stress test Nodes initialization from a background thread [v2]
Kevin Rushforth
kcr at openjdk.org
Mon Feb 3 17:21:56 UTC 2025
On Fri, 31 Jan 2025 23:03:54 GMT, Andy Goryachev <angorya at openjdk.org> wrote:
>> The very first (visible) node should be created in the FX application thread (something I missed earlier). All other instances are created in the background thread - notice the second call to `generator.get()` inside the background thread lambda.
>
>> Related to this, I think a separate set of tests where we construct instances of the node in a loop would be useful, in addition to the set of tests that mutates the node in a loop.
>
> this is a good idea! thank you.
> The very first (visible) node should be created in the FX application thread (something I missed earlier). All other instances are created in the background thread - notice the second call to `generator.get()` inside the background thread lambda.
Ah, I see that now (I had missed seeing the second call).
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/1690#discussion_r1939699573
More information about the openjfx-dev
mailing list