--- old/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/Hashtable.java 2017-07-18 22:52:31.066661905 -0400 +++ new/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/Hashtable.java 2017-07-18 22:52:30.734659120 -0400 @@ -27,6 +27,7 @@ import java.util.*; import sun.jvm.hotspot.debugger.*; import sun.jvm.hotspot.types.*; +import sun.jvm.hotspot.oops.*; import sun.jvm.hotspot.runtime.*; public class Hashtable extends BasicHashtable { @@ -48,6 +49,10 @@ return HashtableEntry.class; } + public int computeHash(Symbol name) { + return (int) name.identityHash(); + } + public int hashToIndex(long fullHash) { return (int) (fullHash % tableSize()); }