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

Some service thread cleanups can be starved

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 12
    • None
    • hotspot
    • None
    • b13
    • generic
    • generic

      The ServiceThread currently tests a bunch of conditions for whether there is work to do. The first one that is true triggers doing the associated work (and only that work). This means that work associated with later tests may be deferred for an arbitrarily long time by frequently having work available from earlier tests.

      Better would be to perform all the tests and either wait if none indicate available work, or do all of the available work, and then try again.

            kbarrett Kim Barrett
            kbarrett Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: