Integrated: 8338064: Give better error for ConcurrentHashTable corruption

Coleen Phillimore coleenp at openjdk.org
Fri Aug 9 12:02:40 UTC 2024


On Wed, 7 Aug 2024 23:55:47 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> You get this message if the nodes of the concurrent hash table are corrupted or somehow don't yield the same hashcode as when the node was entered in the table.  This change makes the error message less obscure, and in debug mode compares the two hash codes.  The hash code is kept in the table in only debug mode, because we don't want the table to take a lot more memory.
> Tested with tier1-4.

This pull request has now been integrated.

Changeset: 069e0ea6
Author:    Coleen Phillimore <coleenp at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/069e0ea69f43960164d3e077d2c7b950cde77927
Stats:     69 lines in 3 files changed: 68 ins; 0 del; 1 mod

8338064: Give better error for ConcurrentHashTable corruption

Reviewed-by: dholmes, shade

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

PR: https://git.openjdk.org/jdk/pull/20503


More information about the hotspot-dev mailing list