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

Serial: Refactor TenuredGeneration::promotion_attempt_is_safe

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • None
    • hotspot
    • gc
    • b27

      Use MIN2 to replace `(available >= av_promo) || (available >= max_promotion_in_bytes)` for easier logic.

      Inspiration taken from `PSScavenge::should_attempt_scavenge`.

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

              Created:
              Updated:
              Resolved: