RFR: 7979: Reduce allocation rate in ParserStats
Jean-Philippe Bempel
jpbempel at openjdk.org
Wed Nov 23 20:43:59 UTC 2022
On Wed, 23 Nov 2022 19:38:48 GMT, Richard Startin <duke at openjdk.org> wrote:
>
> I'm not sure that would help here, as concurrency support is required,
yeah agree on this case.
> but it would help if the fallback in `FastAccessNumberMap` could be swapped out for something that doesn't box the constant identifiers (or if there were just no fallback at all and the paginated array could just grow indefinitely)
I have tested on this particular Map to use fastutil and numbers were significantly better, but it was not the time to integrate a new dependency, that's why I am throwing again the idea
-------------
PR: https://git.openjdk.org/jmc/pull/455
More information about the jmc-dev
mailing list