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

Serial: Refactor GenCollectedHeap::collect

XMLWordPrintable

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

      `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`).

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

              Created:
              Updated:
              Resolved: