RFR: 8339742: Refactor ClassFileImpl to allow loading Option classes lazily
Claes Redestad
redestad at openjdk.org
Mon Sep 9 11:21:30 UTC 2024
Refactor ClassFileImpl so that Option classes are not eagerly loaded.
- Reduces number of classes loaded on various startup tests (typically 15 classes less)
- Reduces size of the default CDS archive by ~30Kb
-------------
Commit messages:
- Cleanup, fix failing test
- Refactor ClassFileImpl option handling to load fewer classes up front
Changes: https://git.openjdk.org/jdk/pull/20911/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20911&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8339742
Stats: 146 lines in 7 files changed: 82 ins; 11 del; 53 mod
Patch: https://git.openjdk.org/jdk/pull/20911.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/20911/head:pull/20911
PR: https://git.openjdk.org/jdk/pull/20911
More information about the core-libs-dev
mailing list