RFR: 8338544: Dedicated Array class descriptor implementation [v6]

Chen Liang liach at openjdk.org
Tue Oct 22 04:50:29 UTC 2024


> @cl4es discovered that Stack Map generation in ClassFile API uses `componentType` and `arrayType` for `aaload` `aastore` instructions, which are currently quite slow. We can split out array class descriptors from class or interfaces to support faster `arrayType` and `componentType` operations.
> 
> Tentative, as I currently have no way to measure the actual impact of this patch on the startup performance; however, this made the `ClassDesc` implementations much cleaner.

Chen Liang has updated the pull request incrementally with one additional commit since the last revision:

  Relax displayName spec

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/20665/files
  - new: https://git.openjdk.org/jdk/pull/20665/files/62deed8b..4acec988

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

  Stats: 9 lines in 1 file changed: 0 ins; 8 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/20665.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20665/head:pull/20665

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


More information about the core-libs-dev mailing list