On Wed, 21 May 2025 15:11:29 GMT, Ioi Lam <ik...@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