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

Sample pages are leaking through popup context menus

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • 8
    • javafx
    • 8.0-graphics-scrum-b1845-x64, Windows 7 x64

      Steps to reproduce:
      - Run Ensemble8 in Monitor Application profile mode
      - Repeat the following steps several times:
         - Navigate to Menu sample
         - Click menu to see menu popup
         - Navigate back to home page

      - Dump heap
      - Use the following OQL query to see what SamplePage instances were not garbage collected:
      select { SamplePage: x, title: x.titleProperty.value.toString() }
      from ensemble.samplepage.SamplePage x
      - There would be a SamplePage instance for each repetition of the steps above
      - Check out nearest GC roots for each SampePage instance.
      - Most of them would contain the following pattern:
      ContextMenu -> ownerNode -> ... -> MenuBar
      - One more would have accelerator pattern (covered by RT-33691)

      Samples that have no ContextMenu invocations would be garbage collected. See RT-33691 for the reproducible case.

        1. screenshot-1.jpg
          screenshot-1.jpg
          150 kB
        2. screenshot-2.jpg
          screenshot-2.jpg
          153 kB
        3. screenshot-3.jpg
          screenshot-3.jpg
          81 kB

            psomashe Parvathi Somashekar (Inactive)
            mrkam Alexander Kuznetcov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: