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

use of movptr to set length of array

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • hs19
    • hs19
    • hotspot
    • None
    • b06
    • sparc
    • solaris_9
    • Not verified

        4)
        Harmless typo in assembler_x86.cpp/tlab_refill:
          shlptr(t1, log2_intptr(HeapWordSize/sizeof(jint)));
          movptr(Address(top, arrayOopDesc::length_offset_in_bytes()), t1);
        movptr should be movl, as array length is 4-byte value. Might cause slowdown, however, if the array length field is not 8-byte aligned.

        Oh, that's a weird one. I'll get that fixed.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: