--- old/src/hotspot/share/classfile/systemDictionary.hpp 2019-10-17 16:50:37.345959779 +0200 +++ new/src/hotspot/share/classfile/systemDictionary.hpp 2019-10-17 16:50:36.925957696 +0200 @@ -218,7 +218,6 @@ \ /*end*/ - class SystemDictionary : AllStatic { friend class BootstrapInfo; friend class VMStructs; @@ -382,7 +381,8 @@ int limit = (int)end_id + 1; resolve_wk_klasses_until((WKID) limit, start_id, THREAD); } - + static bool register_native(Klass* k, Symbol* name, Symbol* signature, address entry, TRAPS); + static Method* find_prefixed_native(Klass* k, Symbol* name, Symbol* signature, TRAPS); public: #define WK_KLASS_DECLARE(name, symbol) \ static InstanceKlass* name() { return check_klass(_well_known_klasses[WK_KLASS_ENUM_NAME(name)]); } \ @@ -630,21 +630,6 @@ // Basic find on classes in the midst of being loaded static Symbol* find_placeholder(Symbol* name, ClassLoaderData* loader_data); - // Add a placeholder for a class being loaded - static void add_placeholder(int index, - Symbol* class_name, - ClassLoaderData* loader_data); - static void remove_placeholder(int index, - Symbol* class_name, - ClassLoaderData* loader_data); - - // Performs cleanups after resolve_super_or_fail. This typically needs - // to be called on failure. - // Won't throw, but can block. - static void resolution_cleanups(Symbol* class_name, - ClassLoaderData* loader_data, - TRAPS); - // Resolve well-known classes so they can be used like SystemDictionary::String_klass() static void resolve_well_known_classes(TRAPS);