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

Serial: Refactor GenCollectedHeap::collect

    XMLWordPrintable

Details

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

    Description

      `GenCollectedHeap::collect` mixes debug-only `GCCause::_scavenge_alot` with product code in a way that makes the logic hard to follow. Try to take some inspiration from similar scenarios in Parallel (`is_cause_full` in `psVMOperations.cpp`) and G1 (`G1CollectedHeap::try_collect`).

      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: