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

Improve MemorySegment.toString

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 25
    • None
    • 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 }

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

              Created:
              Updated:
              Resolved: