Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8206449

ObjectBinding should clear internal value when invalidated to avoid leak

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3
    • None
    • jfx11, 10
    • javafx

    Description

      Currently the ObjectBinding keeps the value until the next call to get() and if noone calls that for a longer time the memory can not be freed.

      In our apps we sometimes have huge object-graphs in computed bindings and if we forget to explicitly call get() (although we currently don't need the new value) we eat up a large amount memory.

      This is a clone of https://github.com/javafxports/openjdk-jfx/issues/109

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tschindl Tom Schindl
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: