RFR: 8346609: Improve MemorySegment.toString [v4]

Per Minborg pminborg at openjdk.org
Tue Jan 7 12:20:26 UTC 2025


> This PR proposes to improve the current `MemorySegment.toString()` method from:
> 
> `MemorySegment{ address: 0x60000264c540, byteSize: 8 }`
> 
> to
> 
> `MemorySegment{ native, address: 0x60000264c540, byteSize: 8}`
> 
> Tests passes tier1-tier3

Per Minborg has updated the pull request incrementally with one additional commit since the last revision:

  Add 'kind'

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/22826/files
  - new: https://git.openjdk.org/jdk/pull/22826/files/08ed7c75..6253e0e8

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=22826&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=22826&range=02-03

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/22826.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/22826/head:pull/22826

PR: https://git.openjdk.org/jdk/pull/22826


More information about the core-libs-dev mailing list