Integrated: 8258048: Placeholder hash code is the same as Dictionary hash code

Coleen Phillimore coleenp at openjdk.java.net
Wed Dec 16 19:22:03 UTC 2020


On Tue, 15 Dec 2020 21:41:40 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> This change is a set of cleanups to the placeholders hashtable.  It moves the index calculation inside the hashtable.  It avoids using the placeholder hashcode because it's the same hashcode as the dictionary hashcode.  There are some asserts for this.
> 
> One of the find_class() functions is redundant to dictionary->find_class() so is removed.
> 
> Tested with tier1-6.

This pull request has now been integrated.

Changeset: c4632647
Author:    Coleen Phillimore <coleenp at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/c4632647
Stats:     134 lines in 8 files changed: 6 ins; 32 del; 96 mod

8258048: Placeholder hash code is the same as Dictionary hash code

Reviewed-by: dholmes, hseigel, lfoltan

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

PR: https://git.openjdk.java.net/jdk/pull/1789


More information about the hotspot-runtime-dev mailing list