Remove CollectedHeap::use_parallel_gc_threads

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: hotspot
    • None
    • gc
    • b66

        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;

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

                Created:
                Updated:
                Resolved: