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

Serial: Refactor GenCollectedHeap::full_process_roots

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 20
    • 20
    • hotspot
    • gc
    • b27

    Description

      `MarkingCodeBlobClosure` can be used for scavenging (in young-gc) and marking (in full-gc). However, it's kind of an abuse for the adjust-phase in full-gc.

      In Parallel (`PSAdjustTask::work`) and G1 (`G1FullGCAdjustTask::work`), a plain `CodeBlobToOopClosure` is used instead.

      Change Serial to do the same thing.

      Another benefit is that one can drop `StrongRootsScope` in the adjust-phase.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: