RFR: 8338936: StringConcatFactory optimize the construction of MethodType and MethodTypeDesc
Shaojin Wen
duke at openjdk.org
Sun Aug 25 21:40:14 UTC 2024
On Sun, 25 Aug 2024 20:13:11 GMT, Chen Liang <liach at openjdk.org> wrote:
> @wenshao Can you change all `MethodTypeDesc.of` and the `CONSTRUCTOR_METHOD_TYPE` static final fields in inlined strategy to be optimized too?
CONSTRUCTOR_METHOD_TYPE The current strategy is optimization:
MethodType CONSTRUCTOR_METHOD_TYPE = MethodType.methodType(void.class, String[].class);
-> static MethodType methodType(Class<?> rtype, Class<?> ptype0) {
-> makeImpl(rtype, new Class<?>[]{ ptype0 }, true);
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20704#issuecomment-2309003257
More information about the core-libs-dev
mailing list