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

8.0-controls-scrum-411: up to 50% of max memory usage increase in Controls.TableView-XmasTree

    XMLWordPrintable

Details

    Description

      There is 47% of max memory usage increase when running Controls.TableView-XmasTree benchmark.
      Max memory usage for builds 410 and 411 is:
       410: ~330 Mb
       411: ~490 Mb

      The cause is fix for RT-2844.
      I did rollback the changes done in javafx-ui-common/src/com/sun/javafx/css/StyleManager.java
      as part of fix for "RT-28447: set popup window scene stylesheet to that of the owner window's scene - this time with better checks on whether or not to clear style cache. " and max memory usage returned back.

      There is no seems to be memory leak as no memory increase is observed as part of one test iteration
      (or in other words as part of one Stage). The memory increase is observed on second and next iterations
      which are ran in new Stages. Note, the previous Stage is released and all objects are supposed to be released as well.
      However, I see the number of com.sun.javafx.css.StyleCacheEntry objects is in twice bigger which means
      they are kept alive from previous iteration.

      Steps to run Controls.TableView-XmasTree:
      > cd JFX_WS/tests/performance/Controls/
      > ant
      > java -client -XX:+UseSerialGC -Xmx512m
             -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.XmasTreeTableViewBenchmark -i 5 -wt 0 -tr 15
             -win-width 1280 -win-height 1024 -col-width 25 -row-height 10 -rows 90 -columns 50 -batch-size 10

      Attachments

        Activity

          People

            dgrieve David Grieve
            epavlova Ekaterina Pavlova
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: