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

Shenandoah: new assert in ShenandoahEvacuationTask is too strong

    XMLWordPrintable

    Details

    • Subcomponent:
      gc
    • Resolved In Build:
      b19

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: