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

Wrong cast in metadata_at_put

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 9
    • 9
    • hotspot
    • b110
    • generic
    • generic

    Backports

      Description

        The _LP64 variant of typeArrayOopDesc::metadata_at_put casts a pointer to a long. Win64 is really _LLP64 rather than _LP64 (though we use the latter), so on that platform the cast unexpectedly discards the high bits of the address.

        Fortunately, there are presently no uses of this function.

        Attachments

          Issue Links

            Activity

              People

                kbarrett Kim Barrett
                kbarrett Kim Barrett
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: