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

Remove CollectedHeap::use_parallel_gc_threads

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Resolved In Build:
      b66

      Backports

        Description

        The function is implemented as:
         static bool use_parallel_gc_threads() { return ParallelGCThreads > 0; }

        and used mostly by CMS. You can't start CMS with -XX:ParallelGCThreads=0, so we don't need this function anymore.

        We also use use_parallel_gc_threads in GenCollectedHeap::process_roots, but that code could be using the same conditional as the other parallel parts of the root processing code:
         bool is_par = n_par_threads() > 0;

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  stefank Stefan Karlsson
                  Reporter:
                  stefank Stefan Karlsson
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: