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

ObjectBinding should clear internal value when invalidated to avoid leak

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 10, openjfx11
    • Fix Version/s: tbd
    • Component/s: javafx
    • Labels:
    • Subcomponent:

      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

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tschindl Tom Schindl
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: