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

Consider supporting address dereference/allocation for platforms where pointers are not 64 bits

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: repo-panama
    • Fix Version/s: None
    • Component/s: tools

      Description

      MemoryAccess make assumptions on the pointer size - e.g. it lets clients dereference a memory address, but assuming that the underlying value is 8 bytes.

      On the other hand, NativeScope refuses to make such an assumption and does not provide any allocation helper to work on addresses.

      The situation seems inconsistent - but, unless we also decide to drop address dereference operation from MemoryAccess, we should find a way to drop the hardwired constraint that pointers are represented as 64 bit values.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jvernee Jorn Vernee
              Reporter:
              mcimadamore Maurizio Cimadamore
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: