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

Ioi Lam iklam at openjdk.org
Thu Oct 31 02:09:31 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 incrementally with five additional commits since the last revision:

 - 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

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/21642/files
  - new: https://git.openjdk.org/jdk/pull/21642/files/dd59b5f1..cd6cd6d7

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=21642&range=04
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=21642&range=03-04

  Stats: 301 lines in 16 files changed: 247 ins; 25 del; 29 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 serviceability-dev mailing list