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

MacView instances are not garbage collected due references to ES2/Prism

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • 9
    • 7u71
    • javafx
    • Mac OSX Yosemite (10.10.1), Java JDK 1.7.71

      MacView instances are not garbage collected due references to ES2/Prism. After performing GC these references are still in memory. Results in performance issues.

      Proof of concept (eclipse project) with screenshots and heapdumps in zip file (POC-MacView-Leak):
      https://drive.google.com/file/d/0B4Mt_KJcHygCOTBlNnp0b19keTQ/view?usp=sharing

      Windows heapdump:
      no SecondViewController
      -> see Heapdump-WINDOWS-Memory.png or heapdump_POC_WINDOWS.hprof

      Mac heapdump:
      multiple SecondViewController
      -> see Heapdump-MAC-Memory.png or heapdump-1418379247196-MAC.hprof

      Relates to RT-17304, but this issue is fixed in 2.1 and 8.25.

            ckyang Chien Yang (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: