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

Sample pages are leaking through popup context menus

    Details

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

      8.0-graphics-scrum-b1845-x64, Windows 7 x64

      Description

      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.

        Attachments

        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

          Issue Links

            Activity

              People

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

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved:
                  Imported: