Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-6825

Performance bottle neck due to synchronize block on each read

Agile BoardAttach filesAttach ScreenshotAdd voteVotersStop watchingWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.1, 3.1.1, 3.1.2, 3.1.3, 3.1.4, 3.1.5, 3.1.6, 3.2.0
    • Fix Version/s: None
    • Component/s: Bus, JAX-RS
    • Labels:
      None
    • Environment:

      All environments

    • Estimated Complexity:
      Unknown

      Description

      In our (IBM MobileFirst foundation) performance tests it is possible to see that many threads are stuck at:

      "LargeThreadPool-thread-1505" daemon prio=10 tid=0x00007f10f020b800 nid=0x31fc waiting for monitor entry [0x00007f12bfffd000]
      java.lang.Thread.State: BLOCKED (on object monitor)
      at org.apache.cxf.BusFactory.getThreadBusHolder(BusFactory.java:120)

      • waiting to lock <0x00000000c6b99020> (a java.util.WeakHashMap)
        at org.apache.cxf.BusFactory.getAndSetThreadDefaultBus(BusFactory.java:202)

      (We use version 3.1.0)
      I did a test fix locally and it seems to resolve our problem so I submitted 2 pull requests:

      for 3.1.6: https://github.com/apache/cxf/pull/119
      for 3.2.0: https://github.com/apache/cxf/pull/120

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              yotammadem Yotam Madem

              Dates

              • Created:
                Updated:

              Time Tracking

              Estimated:
              Original Estimate - 24h
              24h
              Remaining:
              Remaining Estimate - 24h
              24h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Issue deployment