> 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
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
> 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
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
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
-
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