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

[TESTBUG] Remove test runtime/threads/InterruptIO

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      Test
      runtime/threads/InterruptIO

      has several problems:
      - it has busy-wait loop which does nothing (if condition never holds true):
       35 while((interrupter.isAlive())&&(interrupted.isAlive())){
       36 if (threadToNotify.equals(interrupter.getName())){
       37 synchronized(interrupter){
       38 interrupter.notify();
       39 }//end synchronized
       40 }//end if
       41 }//end while
      - it only interrupts the thread 5 times
      - uses fixed number of iterations (30000), without controlling time

      Please rewrite test using STRESS_OPTIONS framework.

      The test actually times out on Windows system and Tonga cannot kill it (vm-amd64-03.sfbay, Windows XP Professional, 64-bit).

      The test code that is described here is no longer needed because the feature being tested has been removed.
      It was removed during the resolution of JDK-8036128.

      https://bugs.openjdk.java.net/browse/JDK-8036128

        Attachments

          Activity

            People

            • Assignee:
              rdurbin Ron Durbin (Inactive)
              Reporter:
              ctornqvi Christian Tornqvist
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: