Clean up arraycopy clone code

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 17
    • Component/s: 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.

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

              Created:
              Updated: