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

Stash's commit-graph leaves a daemon thread behind when shutdown

    XMLWordPrintable

Details

    Description

      Stash's commit-cache leaves a daemon thread:

      "commit-graph-pumper" daemon prio=5 tid=0x00007ff8e4b14000 nid=0x19103 in Object.wait() [0x000000011edb1000]
         java.lang.Thread.State: WAITING (on object monitor)
      	at java.lang.Object.wait(Native Method)
      	- waiting on <0x00000007c29f97c8> (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 <0x00000007c29f97c8> (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 does not affect the normal operation because the thread is a daemon thread hence it does not prevent the shutdown of Stash.

      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: