RFR: 8308899: Introduce Classfile.Context and improve Classfile.Option(s) [v15]

Adam Sotona asotona at openjdk.org
Tue Jun 13 10:56:07 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 40 commits:

 - performance fix
 - Merge branch 'master' into JDK-8308899-context
 - 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.
 - ... and 30 more: https://git.openjdk.org/jdk/compare/5d716121...074b60e3

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

Changes: https://git.openjdk.org/jdk/pull/14180/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14180&range=14
  Stats: 1668 lines in 106 files changed: 523 ins; 246 del; 899 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