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

Shenandoah: avoid implicit worker_id = 0

    XMLWordPrintable

    Details

    • Subcomponent:
      gc
    • Resolved In Build:
      b21

      Backports

        Description

        At least in current ShenandoahRootProcessor, there are declarations like:
         void oops_do(Closure* cl, uint worker_id = 0);

        This is awkward for a simple reason: you can forget to pass worker_id when it is available. If it is not available, we should be passing 0 explicitly.

        This breaks some in-progress worker time tracking work.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: