RFR: 8341136: Optimize StackMapGenerator::trimAndCompress

Shaojin Wen swen at openjdk.org
Sun Sep 29 02:19:42 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

I saw trimAndCompress in the flame graph of the profile, so I made this optimization. Avoiding write operations here is a very small optimization and will not have a significant improvement. I don’t have Benchmark performance numbers.

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

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


More information about the core-libs-dev mailing list