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

Details

    • Enhancement
    • Status: Open
    • P4
    • Resolution: Unresolved
    • 21
    • tbd
    • core-svc
    • None

    Description

      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)."

      Attachments

        Issue Links

          Activity

            People

              alanb Alan Bateman
              cjplummer Chris Plummer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: