On Mon, 10 Feb 2025 22:30:32 GMT, Andy Goryachev <ango...@openjdk.org> wrote:

>> ## Root Cause
>> Animation gets started in a background thread, which causes the animation 
>> handler to run in the FX application thread, thus creating simultaneous 
>> access to the control's fields (list of children in this case).
>> 
>> ## Solution
>> Postpone the animation unless running in the FX application thread.  There 
>> is no functional difference if the component is created/used in the FX 
>> application thread.
>
> Andy Goryachev has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   slow down gc

For testing purposes, merged this PR with the memory leak fix 
https://github.com/openjdk/jfx/pull/1705 .  Once the latter is integrated, 
unrelated changes will disappear.

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

PR Comment: https://git.openjdk.org/jfx/pull/1698#issuecomment-2652292591

Reply via email to