On Fri, 5 Jun 2026 12:10:16 GMT, Joel Sikström <[email protected]> wrote:

> > Switch the statistics gathering code to be the same as for the string table 
> > (both being based on the statistics gathering in CHT)
> 
> Except for the fact that when we can't prepare/take the CHT lock, StringTable 
> prints whatever is cached in its static TableStatistics, and Dictionary now 
> prints zero-initialized stats.

Yeah, which would be quite strange behavior for this type of table, as the 
`StringTable` only has one instance, but the `Dictionary` has many instances 
(so it'd print the previous instance's table stats). You could introduce a 
failure log for this one instead.

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

PR Comment: https://git.openjdk.org/jdk/pull/31398#issuecomment-4631546758

Reply via email to