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

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

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: