Dead lock in sun.net.www.http.KeepAliveCache

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: P4
    • None
    • Affects Version/s: 1.1.6
    • Component/s: core-libs
    • generic
    • generic

      Dead lock happens if ClientVector.run is calling cache.removeVector
      while the other thread is calling v.put in KeepA;iveCache.put.

      KeepAliveCache.put which synchronized itself is trying to lock
      ClentVector by calling put(ClientVector.put is synchronized method)
      while ClientVector is locked by itself in run method and trying to
      lock KeepAliveCache by calling removeVector in it.

            Assignee:
            Mayank Upadhyay (Inactive)
            Reporter:
            Shoji Ishida (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: