Integrated: 8341510: Optimize StackMapGenerator::processFieldInstructions

Shaojin Wen swen at openjdk.org
Sat Oct 5 01:24:46 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

This pull request has now been integrated.

Changeset: f8db3a83
Author:    Shaojin Wen <swen at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/f8db3a831b61bb585c5494a7a8657e37000892b4
Stats:     14 lines in 4 files changed: 1 ins; 7 del; 6 mod

8341510: Optimize StackMapGenerator::processFieldInstructions

Reviewed-by: liach

-------------

PR: https://git.openjdk.org/jdk/pull/21345


More information about the core-libs-dev mailing list