< prev index next >
src/hotspot/share/classfile/systemDictionary.hpp
Print this page
@@ -216,11 +216,10 @@
/* force inline of iterators */ \
do_klass(Iterator_klass, java_util_Iterator ) \
\
/*end*/
-
class SystemDictionary : AllStatic {
friend class BootstrapInfo;
friend class VMStructs;
friend class SystemDictionaryHandles;
@@ -380,11 +379,12 @@
static void resolve_wk_klasses_until(WKID limit_id, WKID &start_id, TRAPS);
static void resolve_wk_klasses_through(WKID end_id, WKID &start_id, TRAPS) {
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)]); } \
static InstanceKlass** name##_addr() { \
return &_well_known_klasses[SystemDictionary::WK_KLASS_ENUM_NAME(name)]; \
@@ -628,25 +628,10 @@
static InstanceKlass* find_class(Symbol* class_name, ClassLoaderData* loader_data);
// 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);
// Class loader constraints
static void check_constraints(unsigned int hash,
< prev index next >