On Tue, 30 Apr 2024 12:23:36 GMT, Adam Sotona wrote:
>> Hi,
>> During performance optimization work on Class-File API as JDK lambda
>> generator we found some static initialization killers.
>> One of them is `java.lang.classfile.Attributes` with tens of static fields
>> initialized with
On Tue, 30 Apr 2024 12:13:59 GMT, Adam Sotona wrote:
>> src/java.base/share/classes/jdk/internal/classfile/impl/BoundAttribute.java
>> line 996:
>>
>>> 994: public static AttributeMapper standardAttribute(Utf8Entry name)
>>> {
>>> 995: // critical bootstrap path, so no lambdas nor
On Tue, 30 Apr 2024 12:05:46 GMT, Chen Liang wrote:
>> Adam Sotona has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> added bug number
>
> src/java.base/share/classes/jdk/internal/classfile/impl/BoundAttribute.java
> line 996:
>
>> 994:
> Hi,
> During performance optimization work on Class-File API as JDK lambda
> generator we found some static initialization killers.
> One of them is `java.lang.classfile.Attributes` with tens of static fields
> initialized with individual attribute mappers, and common set of all mappers,
>