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

Matias Saavedra Silva matsaave at openjdk.org
Thu May 9 18:31:24 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 with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 12 additional commits since the last revision:

 - Merge branch 'master' into pointer_to_offset_8329418
 - Ioi comments
 - Chris comments and cleanup
 - Merge branch 'master' into pointer_to_offset_8329418
 - Cleanup
 - Corrected SA
 - Editing SA
 - Fixed dynamic dumping
 - Now works with -Xshare:on
 - Adjusted serialization
 - ... and 2 more: https://git.openjdk.org/jdk/compare/aaa2e59e...11f39483

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

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

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

  Stats: 17065 lines in 289 files changed: 8650 ins; 5891 del; 2524 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