Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-19561

Unsafe & inefficient concurrency in XStream

    XMLWordPrintable

Details

    • 2.266

    Description

      Related to JENKINS-13154, we are still seeing lots of congestion with Jenkins 1.517 and our builds may still stay tens of minutes in "Waiting for Jenkins to finish collecting data" -phase.

      The place has changed though, now thread dumps show lots of these:

      java.lang.Thread.State: BLOCKED (on object monitor)
      at java.util.Collections$SynchronizedMap.get(Collections.java:2031)
      waiting to lock <0x000000070c6dcfa8> (a java.util.Collections$SynchronizedMap)
      at com.thoughtworks.xstream.core.DefaultConverterLookup.lookupConverterForType(DefaultConverterLookup.java:49)

      Attachments

        Issue Links

          Activity

            mp3 Mikko Peltonen created issue -
            mp3 Mikko Peltonen made changes -
            Field Original Value New Value
            Link This issue is related to JENKINS-13154 [ JENKINS-13154 ]
            jglick Jesse Glick made changes -
            Labels performance threads
            jglick Jesse Glick made changes -
            Link This issue is related to JENKINS-18775 [ JENKINS-18775 ]
            jglick Jesse Glick made changes -
            Summary Heavy thread congestion with FingerPrint.save sequel Lock contention in XStream
            jglick Jesse Glick made changes -
            Priority Major [ 3 ] Critical [ 2 ]
            Summary Lock contention in XStream Unsafe & inefficient concurrency in XStream
            danielbeck Daniel Beck made changes -
            Link This issue is related to JENKINS-23514 [ JENKINS-23514 ]
            jglick Jesse Glick made changes -
            Labels performance threads performance threads xstream
            jglick Jesse Glick made changes -
            Labels performance threads xstream performance threads workflow xstream
            jglick Jesse Glick made changes -
            Labels performance threads workflow xstream 2.0 performance threads workflow xstream
            danielbeck Daniel Beck made changes -
            Labels 2.0 performance threads workflow xstream 2.0-rejected performance threads workflow xstream
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 151015 ] JNJira + In-Review [ 177841 ]
            abayer Andrew Bayer made changes -
            Labels 2.0-rejected performance threads workflow xstream 2.0-rejected performance pipeline threads workflow xstream
            abayer Andrew Bayer made changes -
            Labels 2.0-rejected performance pipeline threads workflow xstream 2.0-rejected performance pipeline threads xstream
            jglick Jesse Glick made changes -
            Remote Link This issue links to "pipeline-stage-step PR 7 (Web Link)" [ 15456 ]
            jglick Jesse Glick made changes -
            Link This issue is blocking JENKINS-46460 [ JENKINS-46460 ]
            jamesdumay James Dumay made changes -
            Remote Link This issue links to "CloudBees Internal OSS-2424 (Web Link)" [ 18322 ]
            gareth_western Gareth Western made changes -
            Remote Link This issue links to "X-Stream Issue #2 (Web Link)" [ 19327 ]
            svanoort Sam Van Oort made changes -
            Issue Type Bug [ 1 ] Improvement [ 4 ]
            jglick Jesse Glick made changes -
            Link This issue relates to JENKINS-41037 [ JENKINS-41037 ]
            jglick Jesse Glick made changes -
            Assignee Jesse Glick [ jglick ]
            jglick Jesse Glick made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "jenkins #4944 (Web Link)" [ 26004 ]
            jglick Jesse Glick made changes -
            Released As 2.266
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Fixed but Unreleased [ 10203 ]

            People

              jglick Jesse Glick
              mp3 Mikko Peltonen
              Votes:
              7 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: