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

multianewarray should generate same code as anewarray for 1-d arrays

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • hs11
    • 6u6, 7
    • hotspot
    • None
    • b07
    • generic
    • generic
    • Verified

        Here's a missing bit of 6337834, which reworked new, newarray, and anewarray.
        The multianewarray instruction should use the new graph whenever possible.
        At least, it should use it when the dimension of the array is 1.
        Perhaps other common cases should be supported also.

              jrose John Rose
              jrose John Rose
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: