Integrated: 8335583: Avoid using pointers in CDS tables
Matias Saavedra Silva
matsaave at openjdk.org
Wed Nov 6 18:48:33 UTC 2024
On Fri, 1 Nov 2024 16:39:01 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.
This pull request has now been integrated.
Changeset: d20ccd1a
Author: Matias Saavedra Silva <matsaave at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/d20ccd1aef4a36662cc9fcc91d1c14b6739187d6
Stats: 223 lines in 11 files changed: 154 ins; 19 del; 50 mod
8335583: Avoid using pointers in CDS tables
Reviewed-by: iklam, ccheung
-------------
PR: https://git.openjdk.org/jdk/pull/21837
More information about the hotspot-runtime-dev
mailing list