RFR: 8331497: Implement JEP 483: Ahead-of-Time Class Loading & Linking [v7]

Ioi Lam iklam at openjdk.org
Mon Nov 4 03:15:25 UTC 2024


> This is an implementation of [JEP 483: Ahead-of-Time Class Loading & Linking](https://openjdk.org/jeps/483).
> 
> ----
> Note: this is a combined PR of the following individual PRs
> - https://github.com/openjdk/jdk/pull/20516
> - https://github.com/openjdk/jdk/pull/20517
> - https://github.com/openjdk/jdk/pull/20843
> - https://github.com/openjdk/jdk/pull/20958
> - https://github.com/openjdk/jdk/pull/20959
> - https://github.com/openjdk/jdk/pull/21049
> - https://github.com/openjdk/jdk/pull/21143

Ioi Lam has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 172 commits:

 - fixed merge
 - Merge branch 'master' into jep-483-candidate
 - 8343493: Perform module checks during MetaspaceShared::map_archives()
 - reverted changes in modules.cpp to make it easy to merge with mainline
 - Fixed whitespace; fixed minimal build
 - Fixed 8343245: AOT cache creation crashes with "assert(HeapShared::is_archivable_hidden_klass(ik)) failed: sanity"
 - fixed comments
 - @ashu-mehra comment - renamed function to SystemDictionaryShared::should_be_excluded(); added comments and asserts; make sure the class is indeed checked
 - Backed out 58233cc20fa22abfd711bb59aafb78e20fabc195
 - @ashu-mehra comment - rename/comment AOTClassLinker::add_new_candidate() and added asserts for thread safety
 - ... and 162 more: https://git.openjdk.org/jdk/compare/29882bfe...935dcc68

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

Changes: https://git.openjdk.org/jdk/pull/21642/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21642&range=06
  Stats: 7256 lines in 105 files changed: 6408 ins; 519 del; 329 mod
  Patch: https://git.openjdk.org/jdk/pull/21642.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21642/head:pull/21642

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


More information about the core-libs-dev mailing list