< prev index next >

src/hotspot/share/classfile/classLoader.hpp

Print this page

318   static ClassFileStream* search_module_entries(JavaThread* current,
319                                                 const GrowableArray<ModuleClassPathList*>* const module_list,
320                                                 PackageEntry* pkg_entry, // Java package entry derived from the class name
321                                                 const char* const file_name);
322 
323   // Load individual .class file
324   static InstanceKlass* load_class(Symbol* class_name, PackageEntry* pkg_entry, bool search_append_only, TRAPS);
325 
326   // If the specified package has been loaded by the system, then returns
327   // the name of the directory or ZIP file that the package was loaded from.
328   // Returns null if the package was not loaded.
329   // Note: The specified name can either be the name of a class or package.
330   // If a package name is specified, then it must be "/"-separator and also
331   // end with a trailing "/".
332   static oop get_system_package(const char* name, TRAPS);
333 
334   // Returns an array of Java strings representing all of the currently
335   // loaded system packages.
336   // Note: The package names returned are "/"-separated and end with a
337   // trailing "/".
338   static objArrayOop get_system_packages(TRAPS);
339 
340   // Initialization
341   static void initialize(TRAPS);
342   static void classLoader_init2(JavaThread* current);
343 
344   static int compute_Object_vtable();
345 
346   static ClassPathEntry* classpath_entry(int n);
347 
348   static bool is_in_patch_mod_entries(Symbol* module_name);
349 
350 #if INCLUDE_CDS
351   static char* uri_to_path(const char* uri);
352   static void  record_result(JavaThread* current, InstanceKlass* ik,
353                              const ClassFileStream* stream, bool redefined);
354   static void record_result_for_builtin_loader(s2 classpath_index, InstanceKlass* result, bool redefined);
355   static void record_hidden_class(InstanceKlass* ik);
356   static void append_boot_classpath(ClassPathEntry* new_entry);
357 #endif
358 

318   static ClassFileStream* search_module_entries(JavaThread* current,
319                                                 const GrowableArray<ModuleClassPathList*>* const module_list,
320                                                 PackageEntry* pkg_entry, // Java package entry derived from the class name
321                                                 const char* const file_name);
322 
323   // Load individual .class file
324   static InstanceKlass* load_class(Symbol* class_name, PackageEntry* pkg_entry, bool search_append_only, TRAPS);
325 
326   // If the specified package has been loaded by the system, then returns
327   // the name of the directory or ZIP file that the package was loaded from.
328   // Returns null if the package was not loaded.
329   // Note: The specified name can either be the name of a class or package.
330   // If a package name is specified, then it must be "/"-separator and also
331   // end with a trailing "/".
332   static oop get_system_package(const char* name, TRAPS);
333 
334   // Returns an array of Java strings representing all of the currently
335   // loaded system packages.
336   // Note: The package names returned are "/"-separated and end with a
337   // trailing "/".
338   static refArrayOop get_system_packages(TRAPS);
339 
340   // Initialization
341   static void initialize(TRAPS);
342   static void classLoader_init2(JavaThread* current);
343 
344   static int compute_Object_vtable();
345 
346   static ClassPathEntry* classpath_entry(int n);
347 
348   static bool is_in_patch_mod_entries(Symbol* module_name);
349 
350 #if INCLUDE_CDS
351   static char* uri_to_path(const char* uri);
352   static void  record_result(JavaThread* current, InstanceKlass* ik,
353                              const ClassFileStream* stream, bool redefined);
354   static void record_result_for_builtin_loader(s2 classpath_index, InstanceKlass* result, bool redefined);
355   static void record_hidden_class(InstanceKlass* ik);
356   static void append_boot_classpath(ClassPathEntry* new_entry);
357 #endif
358 
< prev index next >