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

Synchronization issue in pipeline SSE event publishing

    Details

    • Similar Issues:

      Description

      similar issue to JENKINS-47725.

      But in blueocean code:

      at java.util.WeakHashMap.get(WeakHashMap.java:403)
      at io.jenkins.blueocean.events.PipelineEventListener.newMessage(PipelineEventListener.java:140)
      at io.jenkins.blueocean.events.PipelineEventListener.onNewHead(PipelineEventListener.java:73)
       

        Attachments

          Activity

          Hide
          svanoort Sam Van Oort added a comment -

          Guava caches with weak keys are less performant than WeakHashMaps on their own (get/set carries more overhead) but they will avoid creating a thread bottleneck for anything but operations on the same key.

          Show
          svanoort Sam Van Oort added a comment - Guava caches with weak keys are less performant than WeakHashMaps on their own (get/set carries more overhead) but they will avoid creating a thread bottleneck for anything but operations on the same key.
          Hide
          olamy Olivier Lamy added a comment -

          definitely +1 for Caffeine

          Show
          olamy Olivier Lamy added a comment - definitely +1 for Caffeine
          Hide
          olamy Olivier Lamy added a comment -
          Show
          olamy Olivier Lamy added a comment - pr using GuavaCache https://github.com/jenkinsci/blueocean-plugin/pull/1781
          Hide
          olamy Olivier Lamy added a comment -

          merged in master and  cherry-pick in branch release/1.5

          Show
          olamy Olivier Lamy added a comment - merged in master and  cherry-pick in branch release/1.5
          Hide
          vivek Vivek Pandey added a comment -

          Released in blueocean 1.5.2 and 1.7.2.

          Show
          vivek Vivek Pandey added a comment - Released in blueocean 1.5.2 and 1.7.2.

            People

            • Assignee:
              olamy Olivier Lamy
              Reporter:
              olamy Olivier Lamy
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: