RFR: 8308899: Introduce Classfile.Context and improve Classfile.Option(s) [v14]
Adam Sotona
asotona at openjdk.org
Mon Jun 12 15:55:49 UTC 2023
> Classfile context object and multi-state options have been discussed at https://mail.openjdk.org/pipermail/classfile-api-dev/2023-May/000321.html
> This patch implements the proposed changes in Classfile API and fixes all affected code across JDK sources and tests.
>
> Please review.
>
> Thanks,
> Adam
Adam Sotona has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 38 commits:
- Merge branch 'master' into JDK-8308899-context
- Revert of DirectCodeBuilder.needsStackMap pre-calculation
- Revert "removal of ClassHierarchyImpl.DEFAULT_RESOLVER"
esolver.java
- Revert "proposed semi-synchronized caching, where the map is not locked during delegate call"
This reverts commit ae2877512d978468743bcaa7e0f596729f12ee72.
- fixed StackMapsOption dispatching in DirectCodeBuilder
- proposed semi-synchronized caching, where the map is not locked during delegate call
- used Factory.INSTANCE for system ClassHierarchyResolver cache
- Revert "ClassHierarchyResolver::ofSystem is now thread-unsafe"
This reverts commit f3099cd5b252924392995bf65edc710c27822d2b.
- ClassHierarchyResolver::ofSystem is now thread-unsafe
- removal of ClassHierarchyImpl.DEFAULT_RESOLVER
introduction of ClassHierarchyResolver::ofSystem factory method
ClassfileImpl does not pre-initialize ClassHierarchyResolverOption with default
- ... and 28 more: https://git.openjdk.org/jdk/compare/5d5ae352...9e0d141e
-------------
Changes: https://git.openjdk.org/jdk/pull/14180/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14180&range=13
Stats: 1681 lines in 106 files changed: 536 ins; 245 del; 900 mod
Patch: https://git.openjdk.org/jdk/pull/14180.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/14180/head:pull/14180
PR: https://git.openjdk.org/jdk/pull/14180
More information about the core-libs-dev
mailing list