RFR: 8329418: Replace pointers to tables with offsets in relocation bitmap [v2]

Matias Saavedra Silva matsaave at openjdk.org
Tue May 7 16:38:23 UTC 2024


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

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

  Chris comments and cleanup

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/19107/files
  - new: https://git.openjdk.org/jdk/pull/19107/files/c925025e..d40afef9

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

  Stats: 10 lines in 3 files changed: 0 ins; 6 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/19107.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/19107/head:pull/19107

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


More information about the serviceability-dev mailing list