RFR: 8352075: Perf regression accessing fields [v28]
Radim Vansa
rvansa at openjdk.org
Tue Jun 10 10:21:38 UTC 2025
On Tue, 10 Jun 2025 09:05:00 GMT, Johan Sjölen <jsjolen at openjdk.org> wrote:
>> src/hotspot/share/utilities/packedTable.hpp line 69:
>>
>>> 67: // by the supplier (when Supplier::next() returns false the whole array should
>>> 68: // be filled).
>>> 69: void fill(u1* table, size_t table_length, Supplier &supplier) const;
>>
>> Let the ampersand hug the type.
>
> Also seems like this can be a static method?
The class constructor calculates the sizes, masks and bitshift for the arguments.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24847#discussion_r2137482532
More information about the hotspot-dev
mailing list