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

Encapsulate task queue policies into queue/task specific classes to use

XMLWordPrintable

    • gc

      While looking at JDK-8152438, we found that every user of the OverflowTaskQueue implements (and copies) some kind of strategy on how to manage the tasks within the various queues, implementing them somewhere into the code.

      One very good refactoring would be to encapsulate these strategies, wrapping OverflowTaskQueue with a more simple interface (like push/pop/steal/is_empty only).

            Unassigned Unassigned
            tschatzl Thomas Schatzl
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: