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

ParallelGC Full GC should use parallel WeakProcessor

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 17
    • 17
    • hotspot
    • gc
    • b26

    Description

      JDK-8210100 only adds parallel weak oops processing to Young GC, but not Full GC.

      In `psParallelCompact.cpp`:

      maybe the required change is just from

      ```
      WeakProcessor::weak_oops_do(is_alive_closure(), &do_nothing_cl);
      ```
      to
      ```
      WeakProcessor::weak_oops_do(ParallelScavengeHeap::heap()->workers(),
                                 is_alive_closure(), &do_nothing_cl, 1);
      ```

      PS: make sure the logging looks OK.

      Attachments

        Issue Links

          Activity

            People

              ayang Albert Yang
              ayang Albert Yang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: