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

Mac: 8.0-graphics-scrum-1514: memory leak in com.sun.glass.ui.mac.MacWindow (MacOS)

    Details

      Description

      com.sun.glass.ui.mac.MacWindow objects are not garbage collected as they are kept referenced
      from native memory. As result performance benchmarks fail with OutOfMemoryError after several
      iterations. Examples are Controls.TreeView-Keyword, Controls.TableView-XmasTree benchmarks.
      The issue was introduced in build 8.0-graphics-scrum-1514, no issue in build 8.0-graphics-scrum-1513.
      The issue exists in promoted build 8.0-b103.

      Steps to reproduce:
      > cd JFX_WS/tests/performance/Controls
      > ant
      > java -Xmx512m -Djavafx.animation.fullspeed=true -verbose:gc -XX:+HeapDumpOnOutOfMemoryError
             -cp "JFX_HOME/rt/lib/ext/jfxrt.jar:./dist/Controls.jar:../FXBenchmark/dist/FXBenchmark.jar:../../../import/benchmarks-2.1.1/benchmarks-2.1.1.jar"
       jrockit.bm.Main controls.bm.TreeViewBenchmark -i 100 -wt 0 -tr 2 -mode keyboard -cells 1000 50 -keysPerInjection 50

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pchelko Petr Pchelko (Inactive)
                Reporter:
                epavlova Ekaterina Pavlova
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: