RFR: 8323183: ClassFile API performance improvements [v8]

Adam Sotona asotona at openjdk.org
Mon Mar 4 12:00:18 UTC 2024


> ClassFile API performance related improvements have been separated from #17121 into this PR.
> 
> These improvements are important to minimize performance regression of
> 8294961: Convert java.base/java.lang.reflect.ProxyGenerator to use the Classfile API to generate proxy classes #17121
> 
> Please review.
> 
> Thanks,
> Adam

Adam Sotona has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 24 additional commits since the last revision:

 - Merge remote-tracking branch 'openjdk/master' into JDK-8323184-performance-fixes
 - applied suggested changes
 - Update src/java.base/share/classes/jdk/internal/classfile/impl/StackMapDecoder.java
   
   Co-authored-by: Andrey Turbanov <turbanoff at gmail.com>
 - updated copyright year
 - reverted custom method slots counting in StackCounter
 - improved and extended GenerateStackMaps benchmarks and renamed to CodeAttributeTools
 - Update src/java.base/share/classes/jdk/internal/classfile/impl/StackCounter.java
   
   Co-authored-by: liach <7806504+liach at users.noreply.github.com>
 - applied suggested changes
 - applied suggested changes
 - improved StackMapDescoder::initFrameLocals performance
 - ... and 14 more: https://git.openjdk.org/jdk/compare/45f0a396...747fce8e

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/17306/files
  - new: https://git.openjdk.org/jdk/pull/17306/files/5a04ec59..747fce8e

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=17306&range=07
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=17306&range=06-07

  Stats: 122960 lines in 3981 files changed: 64082 ins; 30411 del; 28467 mod
  Patch: https://git.openjdk.org/jdk/pull/17306.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17306/head:pull/17306

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


More information about the core-libs-dev mailing list