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

processPendingNotification doesn't always reschedule when it should

XMLWordPrintable

    • 1.0.1
    • sparc
    • solaris_2.4
    • Not verified

      In processPendingNotification() in signals.c, we go around a loop processing
      queued-up notifications. We should reschedule if any of the processed notifications
      would have caused a reschedule. However, the code in the loop was using

          need_to_reschedule = queueSignal(monH, &mon->monitor_waitq);

      where it meant to use |=, so only the last notification could cause a reschedule.

      Thanks to John Seamons for noticing this.

            tlindholsunw Timothy Lindholm (Inactive)
            tlindholsunw Timothy Lindholm (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: