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

use of movptr to set length of array

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: hs19
    • Fix Version/s: hs19
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b06
    • CPU:
      sparc
    • OS:
      solaris_9
    • Verification:
      Not verified

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: