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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 1.1.6
    • 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: