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

Shenandoah: improve Traversal support for suspendible workers

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Won't Fix
    • P4
    • None
    • 8-shenandoah, 11-shenandoah, 14, 15
    • hotspot
    • gc

    Description

      This blocks the removal/defaulting of ShenandoahSuspendibleWorkers. It is currently set at "false", and normal heuristics enables it to "true". Traversal GC code handles it half-heartedly, with having ShenandoahSuspendibleThreadSetJoiner scopes at interesting places, but defining the actual yields as:

      bool ShenandoahTraversalGC::check_and_handle_cancelled_gc(TaskTerminator* terminator, bool sts_yield) {
        if (_heap->cancelled_gc()) {
          return true;
        }
        return false;
      }

      This was found by static analyzers that complained both arguments are unused.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: