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

Shenandoah: Expedite recycling of immediate garbage

    XMLWordPrintable

Details

    • gc

    Description

      After vmop_entry_final_mark() identifies regions of immediate garbage, the current Shenandoah implementation does in order:

        entry_thread_roots()
        entry_weak_refs()
        entry_weak_roots()
        entry_cleanup_early()

      The immediate garbage is not reclaimed until entry_cleanup_early(). We may experience out-of-memory during entry_thread_roots(), entry_weak_refs(), or entry_weak_roots().

      By performing entry_cleanup_early() before entry_thread_roots(), we reduce the likelihood of OOM that might cause unnecessary degenerated GC cycles.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kdnilsen Kelvin Nilsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: