Re: RFR: 8341512: Optimize StackMapGenerator::processInvokeInstructions [v3]

2024-10-04 Thread Shaojin Wen
> A small optimization for StackMapGenerator::processInvokeInstructions. > > 1. Use local currentFrame to avoid multiple getfields > 2. remove Util.methodTypeSymbol(NameAndTypeEntry) > 3. Use decStack instead of popStack to reduce array access in popStack > 4. codeSize reduced from 277 to 262 Sha

Re: RFR: 8341512: Optimize StackMapGenerator::processInvokeInstructions [v2]

2024-10-04 Thread Chen Liang
On Fri, 4 Oct 2024 14:25:09 GMT, Shaojin Wen wrote: >> A small optimization for StackMapGenerator::processInvokeInstructions. >> >> 1. Use local currentFrame to avoid multiple getfields >> 2. remove Util.methodTypeSymbol(NameAndTypeEntry) >> 3. Use decStack instead of popStack to reduce array ac

Re: RFR: 8341512: Optimize StackMapGenerator::processInvokeInstructions [v2]

2024-10-04 Thread Shaojin Wen
> A small optimization for StackMapGenerator::processInvokeInstructions. > > 1. Use local currentFrame to avoid multiple getfields > 2. remove Util.methodTypeSymbol(NameAndTypeEntry) > 3. Use decStack instead of popStack to reduce array access in popStack > 4. codeSize reduced from 277 to 262 Sha

Re: RFR: 8341512: Optimize StackMapGenerator::processInvokeInstructions

2024-10-04 Thread ExE Boss
On Fri, 4 Oct 2024 02:15:51 GMT, Shaojin Wen wrote: > A small optimization for StackMapGenerator::processInvokeInstructions. > > 1. Use local currentFrame to avoid multiple getfields > 2. remove Util.methodTypeSymbol(NameAndTypeEntry) > 3. Use decStack instead of popStack to reduce array access

RFR: 8341512: Optimize StackMapGenerator::processInvokeInstructions

2024-10-03 Thread Shaojin Wen
A small optimization for StackMapGenerator::processInvokeInstructions. 1. Use local currentFrame to avoid multiple getfields 2. remove Util.methodTypeSymbol(NameAndTypeEntry) 3. Use decStack instead of popStack to reduce array access in popStack 4. codeSize reduced from 277 to 262 -

Re: RFR: 8341512: Optimize StackMapGenerator::processInvokeInstructions

2024-10-03 Thread Chen Liang
On Fri, 4 Oct 2024 02:15:51 GMT, Shaojin Wen wrote: > A small optimization for StackMapGenerator::processInvokeInstructions. > > 1. Use local currentFrame to avoid multiple getfields > 2. remove Util.methodTypeSymbol(NameAndTypeEntry) > 3. Use decStack instead of popStack to reduce array access