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

TEST_BUG: ThreadStateTest fails intermittently.

XMLWordPrintable

      Following test fails intermittently.

      java/lang/management/ThreadMXBean/ThreadStateTest.java

      Intermittently it returns TIMED_WAIT instead of RUNNING because
      of race condition in test case. When the testing thread is
      querying for target thread state and that thread could be
      in wait or running. It is hard to predict when the thread
      would be in running. So we need to come up with better
      logic to test this thread state.
      Some times it also fails with TIMED_WAITING when it is expecting WAITING
      thread state.

            mchung Mandy Chung (Inactive)
            swamyv Swamy Venkataramanappa
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: