RFR: 8341510: Optimize StackMapGenerator::processFieldInstructions
Chen Liang
liach at openjdk.org
Fri Oct 4 21:32:44 UTC 2024
On Fri, 4 Oct 2024 02:47:12 GMT, Shaojin Wen <swen at openjdk.org> wrote:
> A small optimization to reduce CodeSize, codeSize reduced from 164 to 140.
>
> 1. Use local currentFrame to avoid multiple getfields
> 2. Use decStack instead of popStack to reduce array access in popStack
> 3. Call Util.fieldTypeSymbol to pass in type instead of nameAndType
Marked as reviewed by liach (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/21345#pullrequestreview-2349290148
More information about the core-libs-dev
mailing list