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

Shenandoah: Should evacuate/update codecache concurrently when class unloading is off

XMLWordPrintable

    • gc
    • b26

      During isolating GC work (JDK-8255765), I found that Shenandoah still evacuate/update codecache roots at final mark safepoint when class unloading is off.

      Actually, it can be done concurrently by utilizing nmethod_entry_barrier.

      Shenandoah should always enable nmethod_entry_barrier for evacuation, regardless class unloading status, and perform code cache evacuation/updating during strong root processing.
       

            zgu Zhengyu Gu
            zgu Zhengyu Gu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: