Re: RFR: 8339217: Optimize ClassFile API loadConstant [v6]

2024-09-20 Thread Chen Liang
On Sat, 14 Sep 2024 02:45:47 GMT, Shaojin Wen 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 >> imp

Re: RFR: 8339217: Optimize ClassFile API loadConstant [v6]

2024-09-16 Thread Adam Sotona
On Sat, 14 Sep 2024 02:45:47 GMT, Shaojin Wen 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 >> imp

Re: RFR: 8339217: Optimize ClassFile API loadConstant [v6]

2024-09-16 Thread Claes Redestad
On Sat, 14 Sep 2024 02:45:47 GMT, Shaojin Wen 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 >> imp

Re: RFR: 8339217: Optimize ClassFile API loadConstant [v6]

2024-09-13 Thread Chen Liang
On Sat, 14 Sep 2024 02:45:47 GMT, Shaojin Wen 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 >> imp

Re: RFR: 8339217: Optimize ClassFile API loadConstant [v6]

2024-09-13 Thread Shaojin Wen
> 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 {

Re: RFR: 8339217: Optimize ClassFile API loadConstant [v5]

2024-09-13 Thread Chen Liang
On Fri, 13 Sep 2024 17:14:17 GMT, Shaojin Wen 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 >> imp

Re: RFR: 8339217: Optimize ClassFile API loadConstant [v5]

2024-09-13 Thread Shaojin Wen
> 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 {

Re: RFR: 8339217: Optimize ClassFile API loadConstant [v3]

2024-08-29 Thread Chen Liang
On Thu, 29 Aug 2024 21:22:34 GMT, Shaojin Wen 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 >> imp

Re: RFR: 8339217: Optimize ClassFile API loadConstant [v4]

2024-08-29 Thread Shaojin Wen
> 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 {

Re: RFR: 8339217: Optimize ClassFile API loadConstant [v3]

2024-08-29 Thread Shaojin Wen
> 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 {

Re: RFR: 8339217: Optimize ClassFile API loadConstant [v2]

2024-08-29 Thread Chen Liang
On Thu, 29 Aug 2024 15:35:32 GMT, Shaojin Wen 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 >> imp

Re: RFR: 8339217: Optimize ClassFile API loadConstant [v2]

2024-08-29 Thread Shaojin Wen
> 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 {

Re: RFR: 8339217: Optimize ClassFile API loadConstant

2024-08-29 Thread Chen Liang
On Thu, 29 Aug 2024 05:01:52 GMT, Shaojin Wen 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

Re: RFR: 8339217: Optimize ClassFile API loadConstant

2024-08-28 Thread Chen Liang
On Thu, 29 Aug 2024 05:01:52 GMT, Shaojin Wen 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

Re: RFR: 8339217: Optimize ClassFile API loadConstant

2024-08-28 Thread Shaojin Wen
On Thu, 29 Aug 2024 05:11:36 GMT, Chen Liang 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 >> impr

RFR: 8339217: Optimize ClassFile API loadConstant

2024-08-28 Thread Shaojin Wen
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 Cod