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

Clean up arraycopy clone code

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 17
    • hotspot

      The intersection of arraycopy-kinds and array_copy_requires_gc_barriers-method is the source of much unnecessary complexity. I suggest just having just one clone kind, and some methods to conveniently return what type we are cloning. The rest should be handled in array_copy_requires_gc_barriers.

      This should also make it easier to reduce clone of array to allocation + ordinary arraycopy.

            Unassigned Unassigned
            neliasso Nils Eliasson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: