Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8318467

[jmh] tests concurrent.Queues and concurrent.ProducerConsumer hang with 101+ threads

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 22
    • 11, 17, 21, 22
    • core-libs

    Description

      Tests java.util.concurrent.ProducerConsumer and java.util.concurrent.Queues hang with the default parameters for the type=ABQ_F.
      It looks like the 'capacity' parameter should be bigger or equal to the threads number. Tests should be updated to set capacity to the number of available CPU or bigger.

      Attachments

        Issue Links

          Activity

            People

              vklang Viktor Klang
              vaivanov Vladimir Ivanov
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: