Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-6971

scm-tags leaves a daemon thread behind when shutdown

    XMLWordPrintable

Details

    Description

      The scm-tags plugin leaves a daemon thread behind when the plugin is shutdown:

      "scm-tags-io-pump" daemon prio=5 tid=0x00007ff8df73a800 nid=0x25903 in Object.wait() [0x00000001286a1000]
         java.lang.Thread.State: WAITING (on object monitor)
      	at java.lang.Object.wait(Native Method)
      	- waiting on <0x00000007c4567c68> (a java.util.concurrent.ConcurrentLinkedQueue)
      	at java.lang.Object.wait(Object.java:503)
      	at com.atlassian.util.contentcache.BackgroundThreadStreamPumper$PumpSomeTask.waitIfEmpty(BackgroundThreadStreamPumper.java:114)
      	- locked <0x00000007c4567c68> (a java.util.concurrent.ConcurrentLinkedQueue)
      	at com.atlassian.util.contentcache.BackgroundThreadStreamPumper$PumpSomeTask.run(BackgroundThreadStreamPumper.java:69)
      	at java.lang.Thread.run(Thread.java:745)
      

      Note that this doesn't affect the normal operation of Stash because the plugin is shutdown just before Stash itself is shutdown and because the thread is a daemon thread.

      Attachments

        Issue Links

          Activity

            People

              pepoirot Pierre-Etienne Poirot (Inactive)
              pepoirot Pierre-Etienne Poirot (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: