On Sat, 14 Sep 2024 02:45:47 GMT, Shaojin Wen <s...@openjdk.org> wrote:

>> This is a large method. By splitting it into multiple methods with the same 
>> name, the caller can automatically select based on the different types of 
>> parameters, avoiding this large call that cannot be inlined, which can also 
>> improve startup performance.
>> 
>> * current
>> 
>> CodeBuilder {
>>     default CodeBuilder loadConstant(ConstantDesc value) { ... }
>> }
>> 
>> java.lang.classfile.CodeBuilder::loadConstant (465 bytes)   failed to 
>> inline: callee is too large
>
> Shaojin Wen has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   fix comments

The CSR asks to use `equivalent` instead of `identical` in the specs; I should 
fix that in a subsequent general ClassFile API docs cleanup.

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

PR Comment: https://git.openjdk.org/jdk/pull/20761#issuecomment-2364992208

Reply via email to