On Wed, 21 Aug 2024 20:25:07 GMT, Chen Liang <li...@openjdk.org> wrote:

> @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.

This pull request has now been integrated.

Changeset: 25c2f48d
Author:    Chen Liang <li...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/25c2f48d458bfd92423c311a887679ad3e1e4041
Stats:     873 lines in 20 files changed: 476 ins; 255 del; 142 mod

8338544: Dedicated Array class descriptor implementation

Reviewed-by: redestad, mchung, jvernee

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

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

Reply via email to