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

Remove duplicate _worker_id in G1ParClosureSuper

XMLWordPrintable

    • gc

      G1ParClosureSuper has the fields

         G1ParScanThreadState* _par_scan_state;
         uint _worker_id;

      and later asserts

        assert(_worker_id == _par_scan_state->worker_id(), "sanity");

      which means that _worker_id seems to be available via _par_scan_state anyway.

      Look if _worker_id can be removed without negative performance impact.

            Unassigned Unassigned
            tschatzl Thomas Schatzl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: