Loom: Incorrect StackChunk::pc accessors

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 19
    • Affects Version/s: 19
    • Component/s: hotspot
    • b24

      The injected field is defined as:

      ```
        macro(jdk_internal_vm_StackChunk, pc, intptr_signature, false) \
      ```

      ...yet it is read and written as "long", which silently overwrites adjacent fields in StackChunk on 32-bit platforms. This is a blocker for any 32-bit support. There are plenty of other `intptr` injected fields in other classes (e.g. `Class::array_klass`), and they are properly accessed by "address" accessors.

            Assignee:
            Aleksey Shipilev
            Reporter:
            Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: