Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7901810

Group thread distribution is unstable between iterations

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: tools
    • Labels:
      None
    • Subcomponent:
      jmh

      Description

      As seen here:
        http://mail.openjdk.java.net/pipermail/jmh-dev/2016-September/002362.html

      This happens because our thread distribution between groups is unstable between iterations. That is, thread may enter the next iteration thinking it should execute *another* method from the group. This may cause it to initialize its own instance of @State(Thread) object referenced from that method, for example. This does not affect non-group runs.

        Attachments

          Activity

            People

            • Assignee:
              shade Aleksey Shipilev
              Reporter:
              shade Aleksey Shipilev
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: