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

Investigate to use WorkGang for Parallel GC

XMLWordPrintable

    • gc

      All collectors but parallel gc use WorkGang to implement parallelism.

      This again and again causes us to add an additional abstraction layer above any code that tries to use parallel threads for all collectors (evacuation failure, dynamic thread sizing, reference processing, ...).

      Further the parallel gc task queue mechanism has disadvantages:
      - the work (tasks) must be known beforehand
      - getting work from the task queue incurs taking a global lock which is actually known for being inefficient in literature already

      Investigate to replace the parallel gc task queue mechanism with a work gang.

      proposed solution:
      JDK-8224659
      JDK-8224660
      JDK-8224661
      JDK-8224662
      JDK-8224663
      JDK-8224664
      JDK-8224665
      JDK-8224666

            lkorinth Leo Korinth
            tschatzl Thomas Schatzl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: