Improve MemorySegment.toString

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 25
    • Affects Version/s: None
    • Component/s: core-libs
    • None

      The current `MemorySegment.toString()` method only provides limited information on the segment:

      MemorySegment{ address: 0x60000264c540, byteSize: 8 }

      It would be better to provide additional information elements like so:

      MemorySegment{ native, address: 0x60000264c540, byteSize: 8, confined, not alive, read-only, mapped }

            Assignee:
            Per-Ake Minborg
            Reporter:
            Per-Ake Minborg
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: