RFR: 8314220: Configurable InlineCacheBuffer size

Dean Long dlong at openjdk.org
Mon Aug 14 19:57:06 UTC 2023


On Mon, 14 Aug 2023 13:12:16 GMT, Ekaterina Vergizova <evergizova at openjdk.org> wrote:

> InlineCacheBuffer size is currently hardcoded to 10K.
> This can lead to multiple ICBufferFull safepoints for InlineCacheBuffer cleanup and possible performance degradation.
> 
> Added experimental command line option InlineCacheBufferSize with the same default value, allowing it to be configured for performance experiments with ICBufferFull safepoints frequency.

I like the idea of getting rid of this arbitrary limit, but it might be better to either:
1)  scale the default size value based on the code cache size (ergonomics)?
2) grow the buffer as needed, no size flag needed
I would prefer 2).

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

PR Comment: https://git.openjdk.org/jdk/pull/15271#issuecomment-1677970789


More information about the hotspot-dev mailing list