RFR: 8352075: Perf regression accessing fields [v3]

Radim Vansa rvansa at openjdk.org
Thu May 22 08:21:38 UTC 2025


On Wed, 21 May 2025 15:11:29 GMT, Ioi Lam <iklam at openjdk.org> wrote:

>> Even if the fields are only defined within the same class, the names of the fields are shared among different classes.
>
> To validate that you have sorted the table correctly, you should add a debug-only validation function. This function should be called after `set_fieldinfo_search_table()`, and also in `InstanceKlass::restore_unshareable_info()` and `InstanceKlass::remove_unshareable_info()`.

Added, thanks for raising those places.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24847#discussion_r2101937946


More information about the hotspot-dev mailing list