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

Some service thread cleanups can be starved

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 12
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b13
    • CPU:
      generic
    • OS:
      generic

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: