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

Remove G1ParScanPartialArrayClosure and G1ParScanHeapEvacClosure

    XMLWordPrintable

    Details

    • Subcomponent:
      gc
    • Resolved In Build:
      b08

      Backports

        Description

        Above mentioned "closures" are in reality just methods (do_oop_nv()) wrapped into the Closure abstraction.

        This confuses readers, and adds lots of boiler plate code (closure definition and instantiations) in the process.

        Also for whatever reason, G1ParScanHeapEvacClosure is part of the specializations for oop_oop_iterate() (probably because of the confusion).

        Move them to G1ParScanThreadState which is the only place where they are referenced as methods.

        This also allows small optimizations.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                tschatzl Thomas Schatzl
                Reporter:
                tschatzl Thomas Schatzl
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: