RFR: 8314220: Configurable InlineCacheBuffer size
Coleen Phillimore
coleenp at openjdk.org
Mon Aug 14 19:57:08 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.
src/hotspot/share/runtime/globals.hpp line 299:
> 297: \
> 298: product(uintx, InlineCacheBufferSize, 10*K, EXPERIMENTAL, \
> 299: "InlineCacheBuffer size") \
Can you make this type an int and add a range to it? Line 143 above will get -Wconversion warnings if we ever turned them on.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/15271#discussion_r1293908483
More information about the hotspot-dev
mailing list