> Hi, > > - Switch the statistics gathering code to be the same as for the string table > (both being based on the statistics gathering in CHT) > - Remove the old `statistics_get` function in CHT, as it's now unused > - Some minor changes to improve clarity in `VM_DumpHashtable` (`DumpSysDict` > was actually implemented) > > The old `Dictionary` statistics fetching function seemed very broken to me as > it would return the statistics to another table if the table's `resize_lock` > was already held by another thread. Just using the same mechanism seems > reasonable. > > Testing: GHA and manually ran `jcmd $PID VM.systemdictionary` > > --------- > - [X] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai).
Johan Sjölen has updated the pull request incrementally with one additional commit since the last revision: Print failure and return ------------- Changes: - all: https://git.openjdk.org/jdk/pull/31398/files - new: https://git.openjdk.org/jdk/pull/31398/files/179fe5f1..8e68ca7b Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=31398&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=31398&range=00-01 Stats: 11 lines in 1 file changed: 2 ins; 0 del; 9 mod Patch: https://git.openjdk.org/jdk/pull/31398.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/31398/head:pull/31398 PR: https://git.openjdk.org/jdk/pull/31398
