RFR: 8341136: Optimize StackMapGenerator::trimAndCompress

Chen Liang liach at openjdk.org
Sat Sep 28 18:52:36 UTC 2024


On Fri, 27 Sep 2024 17:05:25 GMT, Shaojin Wen <swen at openjdk.org> wrote:

> A small optimization to reduce the write operations of trimAndCompress

Does this bring a speed up in the interpreter or compiled code like C2? Indeed the category 2 long/double primitive types appear rarely, and the majority of methods won't need to change their stacks in compression.

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

PR Comment: https://git.openjdk.org/jdk/pull/21227#issuecomment-2380863491


More information about the core-libs-dev mailing list