RFR: 8266642: improve ResolvedMethodTable hash function
Denghui Dong
ddong at openjdk.java.net
Thu May 6 14:34:14 UTC 2021
JDK-8249719 has fixed the bad hash function problem, however, when there are a large number of classes with the same name, there are still performance problems.
Add the address of the corresponding ClassLoaderData as a factor of hash can solve the problem.
-------------
Commit messages:
- 8266642: improve ResolvedMethodTable hash function
Changes: https://git.openjdk.java.net/jdk/pull/3901/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3901&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8266642
Stats: 21 lines in 2 files changed: 20 ins; 0 del; 1 mod
Patch: https://git.openjdk.java.net/jdk/pull/3901.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/3901/head:pull/3901
PR: https://git.openjdk.java.net/jdk/pull/3901
More information about the hotspot-dev
mailing list