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

Provide better fix for 8297638: "Memory leak in case of many started-dead threads"

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 21
    • core-svc

      We can do a better fix for 8297638. Alan suggested:

      "One approach to try is replacing listeners with a WeakHashMap (with a value of type Boolean, unused) so that additions will automatically expunge stale refs. That should help removeListener implementations too, as they are currently O(n)."

            Unassigned Unassigned
            cjplummer Chris Plummer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: