--- old/src/hotspot/share/classfile/systemDictionary.hpp 2017-11-01 11:21:40.000000000 -0500 +++ new/src/hotspot/share/classfile/systemDictionary.hpp 2017-11-01 11:21:40.000000000 -0500 @@ -655,11 +655,8 @@ // Setup link to hierarchy static void add_to_hierarchy(InstanceKlass* k, TRAPS); - // We pass in the hashtable index so we can calculate it outside of - // the SystemDictionary_lock. - // Basic find on loaded classes - static InstanceKlass* find_class(int index, unsigned int hash, + static InstanceKlass* find_class(unsigned int hash, Symbol* name, Dictionary* dictionary); static InstanceKlass* find_class(Symbol* class_name, ClassLoaderData* loader_data); @@ -685,10 +682,10 @@ static void initialize_preloaded_classes(TRAPS); // Class loader constraints - static void check_constraints(int index, unsigned int hash, + static void check_constraints(unsigned int hash, InstanceKlass* k, Handle loader, bool defining, TRAPS); - static void update_dictionary(int d_index, unsigned int d_hash, + static void update_dictionary(unsigned int d_hash, int p_index, unsigned int p_hash, InstanceKlass* k, Handle loader, TRAPS);