git: openjdk/jdk: 8309413: Improve the performance of MethodTypeDesc::descriptorString

Mandy Chung mchung at openjdk.org
Tue Jun 6 15:57:09 UTC 2023


Changeset: 38cef2ad
Author:    Chen Liang <liach at openjdk.org>
Committer: Mandy Chung <mchung at openjdk.org>
Date:      2023-06-06 15:56:36 +0000
URL:       https://git.openjdk.org/jdk/commit/38cef2adbd956ac1e953ea7a7e7952fe093a9872

8309413: Improve the performance of MethodTypeDesc::descriptorString
8304932: MethodTypeDescImpl can be mutated by argument passed to MethodTypeDesc.of

Reviewed-by: mchung

! src/java.base/share/classes/java/lang/constant/MethodTypeDesc.java
! src/java.base/share/classes/java/lang/constant/MethodTypeDescImpl.java
! test/jdk/java/lang/constant/MethodTypeDescTest.java
+ test/micro/org/openjdk/bench/java/lang/constant/MethodTypeDescFactories.java



More information about the jdk-changes mailing list