Integrated: 7979: Reduce allocation rate in ParserStats

Richard Startin duke at openjdk.org
Wed Nov 23 21:08:25 UTC 2022


On Mon, 21 Nov 2022 09:45:32 GMT, Richard Startin <duke at openjdk.org> wrote:

> Somewhat surprisingly, the capturing lambdas and the `Long`s being updated here are one of the highest allocation sources when using jmc-common as a backend library, this PR has reduced our allocation rate by about 5%.

This pull request has now been integrated.

Changeset: 68387c5b
Author:    Richard Startin <richard.startin at datadoghq.com>
Committer: Jean-Philippe Bempel <jpbempel at openjdk.org>
URL:       https://git.openjdk.org/jmc/commit/68387c5bd454fcf4bdda07d0cbe8d6eb59e2a840
Stats:     34 lines in 1 file changed: 5 ins; 13 del; 16 mod

7979: Reduce allocation rate in ParserStats

Reviewed-by: jpbempel

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

PR: https://git.openjdk.org/jmc/pull/455


More information about the jmc-dev mailing list