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

ARM32: Address displacement is 0 for volatile field access because of Unsafe field access.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 11, 13, 14
    • Fix Version/s: 14
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b23
    • CPU:
      arm
    • OS:
      generic

      Description

      (issue reported by christoph.goettschkes@microdoc.com)

      In the LIRGenerator::volatile_field_store() and LIRGenerator::volatile_field_load(), the target address is calculated by using the function add_large_constant(), which asserts that the given displacement is not 0. But in the implementation of the intrinsic for the Unsafe class, this can actually happen.

        Attachments

          Activity

            People

            • Assignee:
              bulasevich Boris Ulasevich
              Reporter:
              bulasevich Boris Ulasevich
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: