ProgressBar has significant leaks

Scott Palmer swpalmer at gmail.com
Fri Mar 27 18:36:34 UTC 2015


Another chain to the GC root looks like:

WeakReference
BindingHelperObserver
InvalidationListener[]
ExpressionHelper$Generic
Node$NodeTransformation$2
Node$NodeTransformation
StackPane
ProgressBarSkin
ProgressBar


On Fri, Mar 27, 2015 at 2:28 PM, Scott Palmer <swpalmer at gmail.com> wrote:

> I searched the bug database and though ProgressBar leaks have been
> reported before, they are supposed to be fixed in 8u40.  I'm seeing tons of
> leaks in 8u40.
>
> Comparing heap dumps with jvisualvm I see in three minutes that my app has
> accumulated 11,000 WeakReference and BindingHelperObserver objects that
> appear to be associated with the ProgressBarSkin.
>
> The chain to the GC root looks like this:
>
> WeakReference
> BindingHelperObserver
> InvalidationListener[]
> ExpressionHelper$Generic
> ProgressBarSkin$1
> ProgressBarSkin
> ProgressBar
>
> My application needs to run for a long time.  (Streaming realtime video -
> i.e. a TV station broadcast for hours if not weeks at a time...)
>
> I suspect this may be a regression in 8u40.  I will try to get that
> confirmed.
>
> Scott
>


More information about the openjfx-dev mailing list