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

Calvin Cheung ccheung at openjdk.org
Wed Nov 6 18:21:29 UTC 2024


On Wed, 6 Nov 2024 16:56:46 GMT, Matias Saavedra Silva <matsaave at openjdk.org> wrote:

>> 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

Looks good.

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

Marked as reviewed by ccheung (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/21837#pullrequestreview-2419101719


More information about the hotspot-runtime-dev mailing list