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

[TESTBUG] Race condition in test runtime/threads/IntSleep still exists

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      Test runtime/threads/IntSleep still timesout due to the same issue described in CR 6921060.
      With big timeout inserted before interrupt calls test passed.
      I was able to reproduce issue only on some Windows hosts (stt-39,stt-67.ru.oracle.com).
      Test uses synchronization based on thread state. That way is error-prone.
      Synchronization algorithm for this test should be adjusted to avoid such hangs.

      Log example:
      http://vice.russia.sun.com/results/1.6.0_33/b03/vm/win2008-x64-64_vm.runtime.testlist/ResultDir/IntSleep/IntSleep.log

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ctornqvi Christian Tornqvist
                Reporter:
                ctornqvi Christian Tornqvist
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: