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

Serial: Remove SerialHeap::_incremental_collection_failed

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • 24
    • hotspot
    • gc
    • b05

      If young-gc fails (promotion-failure), Serial upgrades to full-gc directly, without leaving the safepoint, so the incremental-collection-failure is never exposed externally.

      Remove all methods related to this field.

      Additionally, the decision to use from-space if !collection_attempt_is_safe() && !_eden_space->is_empty() can cause heap too full to be handled properly by full-gc, so the support alloc-in-from-space is also removed.

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

              Created:
              Updated:
              Resolved: