RFR: 8329532: Add an internal MemoryLayout transformer

Per Minborg pminborg at openjdk.org
Tue Apr 16 08:36:26 UTC 2024


This PR proposes to add an internal layout transformer that could be used to transform MemoryLayout entities. For example, it would be possible to convert a struct layout to use network order ((big-endian) instead of native byte order (often little-endian). Another application is to remove naming recursively for composite layouts when caching shapes etc.

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

Commit messages:
 - Merge branch 'master' into layout-transformer
 - Merge branch 'master' into layout-transformer
 - Make classes internal
 - Start restricting general functionality
 - Add tests
 - Add copyright headers
 - Add an internal MemoryLayout transformer

Changes: https://git.openjdk.org/jdk/pull/18582/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18582&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8329532
  Stats: 358 lines in 3 files changed: 348 ins; 9 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/18582.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18582/head:pull/18582

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


More information about the core-libs-dev mailing list