Integrated: 8341512: Optimize StackMapGenerator::processInvokeInstructions
Shaojin Wen
swen at openjdk.org
Sat Oct 5 15:40:38 UTC 2024
On Fri, 4 Oct 2024 02:15:51 GMT, Shaojin Wen <swen at openjdk.org> 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 in popStack
> 4. codeSize reduced from 277 to 262
This pull request has now been integrated.
Changeset: 1c3e56c3
Author: Shaojin Wen <swen at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/1c3e56c3e45be3626afec0461d4ae8059b0b577f
Stats: 20 lines in 10 files changed: 1 ins; 7 del; 12 mod
8341512: Optimize StackMapGenerator::processInvokeInstructions
Reviewed-by: liach
-------------
PR: https://git.openjdk.org/jdk/pull/21344
More information about the core-libs-dev
mailing list