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

Shenandoah: Simplify arraycopy-barrier dispatching

    XMLWordPrintable

    Details

    • Subcomponent:
      gc
    • Resolved In Build:
      b18
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        Currently, calling the arraycopy dispatches 3 times in a row:

        1. In the asm stub (GC or no GC)
        2. In arraycopy_pre (marking or evac/update)
        3. In arraycopy_update (evac or update)

        This can be simplified by doing only the fast-path branch in asm stub, and the GC-phase dispatch once in the runtime.

        In addition, there are various cleanups that can be done on the way.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                rkennke Roman Kennke
                Reporter:
                rkennke Roman Kennke
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: