RFR: 8338532: Speed up the ClassFile API MethodTypeDesc#ofDescriptor
Shaojin Wen
duke at openjdk.org
Mon Aug 19 06:32:26 UTC 2024
On Fri, 16 Aug 2024 18:17:15 GMT, Claes Redestad <redestad at openjdk.org> wrote:
>> MethodTypeDescFactories has some illegal MethodTypeDesc, and throwing exceptions will affect the performance comparison of normal scenarios.
>
> Not intentionally - which one is illegal? Or are you thinking about the dots? Those are replaced with the descriptorString of the benchmark class before execution. Just a trick to allow testing really long descriptor strings without making the parameter output humongous.
It was my problem. I didn't fully understand the code before and had a wrong view.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/20611#discussion_r1720477864
More information about the core-libs-dev
mailing list