RFR: 8314220: Configurable InlineCacheBuffer size [v2]

Dean Long dlong at openjdk.org
Fri Sep 22 23:57:14 UTC 2023


On Wed, 30 Aug 2023 19:17:16 GMT, Ekaterina Vergizova <evergizova at openjdk.org> wrote:

>> 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.
>
> Thanks, I changed type to int and added a range check constraint.

I'd rather have the type as size_t and change StubQueue accordingly.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15271#discussion_r1334886517


More information about the hotspot-dev mailing list