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

Remove CollectedHeap::use_parallel_gc_threads

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • 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;

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

                Created:
                Updated:
                Resolved: