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

ClearArrayNode::Identity is incorrect for 64-bit

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • hs12
    • 7
    • hotspot
    • None
    • b02
    • sparc
    • solaris_9
    • Not verified

        ClearArray::identity assumes that the count of words to clear is an int when in fact it is an intptr_t so it's a long in 64-bit. This inhibits elimination of useless ClearArrays. The fix is to use TypeX instead of TypeInt. Additionally in many cases it's possible to know at creation time there is nothing to do so we shouldn't bother to create them in those cases.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: