Integrated: 8329418: Replace pointers to tables with offsets in relocation bitmap

Matias Saavedra Silva matsaave at openjdk.org
Fri May 10 01:37:10 UTC 2024


On Mon, 6 May 2024 17:05:47 GMT, Matias Saavedra Silva <matsaave at openjdk.org> wrote:

> The beginning of the RW region contains pointers to c++ vtables which are always located at a fixed offset from the shared base address at runtime. This offset can be calculated at dumptime and stored with the read-only tables at the top of the RO region. As a further improvement, all the pointers to RO tables are replaced with offsets as well.
> 
> These changes will reduce the number of pointers in the RW and RO regions and will allow for the relocation bitmap size optimizations to be more effective. Verified with tier 1-5 tests.

This pull request has now been integrated.

Changeset: a706ca4f
Author:    Matias Saavedra Silva <matsaave at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/a706ca4fdb4db4ba36c6ad04a37c37a348f8af0b
Stats:     137 lines in 11 files changed: 64 ins; 24 del; 49 mod

8329418: Replace pointers to tables with offsets in relocation bitmap

Reviewed-by: cjplummer, iklam

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

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


More information about the serviceability-dev mailing list