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

Shenandoah: new assert in ShenandoahEvacuationTask is too strong

XMLWordPrintable

    • gc
    • b19

      JDK-8231947 added the assert in ShenandoahEvacuationTask that is too strong. There is a corner case when the region is collection-set-pinned (CSP), and the oom-evac-protocol waits for GC thread to complete the evacuation. There is a short window where GC thread can see the CSP region before seeing cancellation request.

      It seems easier to remove the too strong assert for now.

      The assertion failure reliably reproduces with -XX:ShenandoahGCHeuristics=aggressive -XX:+ShenandoahOOMDuringEvacALot on SPECjvm2008.

            shade Aleksey Shipilev
            shade Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: