Parallel: Refactor PSPromotionManager::claim_or_forward_depth

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 23
    • Affects Version/s: 23
    • Component/s: hotspot
    • gc
    • b05

      Both callers of this method checks PSScavenge::should_scavenge. One can inline that to the callee, which also reduces #loads to one.

      (Some inspiration is taken from PSRootsClosure.)

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

              Created:
              Updated:
              Resolved: