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

Custom XYChart Memory-Leak

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8u20
    • Component/s: javafx
    • Environment:

      MacOS X 10.9, Java 8 b129

      Description

      If you create a custom chart by inheriting from class XYChart you will always get memory leaks if series will be added because XYChart fills the package-visible member seriesColorMap in method seriesAdded() with an instance of Class Series but only BarChart will remove this instance from the map in method seriesRemoved() using private method updateDefaultColorIndex().

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              msladecek Martin Sládeček
              Reporter:
              duke J. Duke (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: