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

Some classes in rmi need to avoid spurious wakeup

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P3 P3
    • None
    • 6u22
    • core-libs
    • generic
    • generic

      ./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 }
      ...
      ----------------------------------------------------------------------

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: