RFR: 8335583: Avoid using pointers in CDS tables [v2]

Matias Saavedra Silva matsaave at openjdk.org
Wed Nov 6 16:56:46 UTC 2024


> There are several calls to mark_pointer which can be avoided if offsets are used instead, This will help to reduce the archive size and reduce startup time.
> 
> This patch introduces some utility functions in the first commit to assist in converting to and from u4 offsets. For ease of review, consider looking at each commit separately as they each address an individual pointer to offset change. Verified with tier 1-5 tests.

Matias Saavedra Silva has updated the pull request incrementally with one additional commit since the last revision:

  Ioi comments

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/21837/files
  - new: https://git.openjdk.org/jdk/pull/21837/files/515664e3..84688934

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=21837&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=21837&range=00-01

  Stats: 11 lines in 2 files changed: 0 ins; 8 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/21837.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21837/head:pull/21837

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


More information about the hotspot-runtime-dev mailing list