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

Some classes in rmi need to avoid spurious wakeup

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Won't Fix
    • Affects Version/s: 6u22
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      ./rmi/server/Activation.java and ./rmi/transport/tcp/TCPEndpoint.java seems to need implementation
      (ex. "while" loop) to avoid spurious wakeup at the following source code portion in jdk6u22.

      ----- src/share/classes/sun/rmi/server/Activation.java ----
      ....
      1035 try {
      1036 wait(waitTime - now);
      1037 } catch (InterruptedException ee) {
      ...
      ------------------------------------------------------------

      and

      ----- src/share/classes/sun/rmi/transport/tcp/TCPEndpoint.java ----
      ...
      715 /* wait to obtain an FQDN */
      716 f.wait(nameServiceTimeOut);
      717 }
      ...
      ----------------------------------------------------------------------

        Attachments

          Activity

            People

            Assignee:
            msheppar Mark Sheppard
            Reporter:
            tbaba Tadayuki Baba (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: