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

incorrect assert in fast arraycopy code

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • hs11
    • 6
    • hotspot
    • None
    • b04
    • sparc
    • solaris_9
    • Verified

        The optimized code for arraycopies will eliminate the type check if the src and the dst are the same but in the generated code we emit an assert that if there's no type check the type exactly the expected type, which will fail in this case. The assert should be removed or relaxed.

              never Tom Rodriguez
              never Tom Rodriguez
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: