equal
deleted
inserted
replaced
221 |
221 |
222 DEBUG_ONLY(static bool _no_class_loading_should_happen;) |
222 DEBUG_ONLY(static bool _no_class_loading_should_happen;) |
223 public: |
223 public: |
224 static InstanceKlass* find_builtin_class(Symbol* class_name); |
224 static InstanceKlass* find_builtin_class(Symbol* class_name); |
225 |
225 |
226 static const RunTimeSharedClassInfo* find_record(RunTimeSharedDictionary* dict, Symbol* name); |
226 static const RunTimeSharedClassInfo* find_record(RunTimeSharedDictionary* static_dict, |
|
227 RunTimeSharedDictionary* dynamic_dict, |
|
228 Symbol* name); |
227 |
229 |
228 static bool has_platform_or_app_classes(); |
230 static bool has_platform_or_app_classes(); |
229 |
231 |
230 // Called by PLATFORM/APP loader only |
232 // Called by PLATFORM/APP loader only |
231 static InstanceKlass* find_or_load_shared_class(Symbol* class_name, |
233 static InstanceKlass* find_or_load_shared_class(Symbol* class_name, |
238 |
240 |
239 // Check if sharing is supported for the class loader. |
241 // Check if sharing is supported for the class loader. |
240 static bool is_sharing_possible(ClassLoaderData* loader_data); |
242 static bool is_sharing_possible(ClassLoaderData* loader_data); |
241 static bool is_shared_class_visible_for_classloader(InstanceKlass* ik, |
243 static bool is_shared_class_visible_for_classloader(InstanceKlass* ik, |
242 Handle class_loader, |
244 Handle class_loader, |
243 const char* pkg_string, |
|
244 Symbol* pkg_name, |
245 Symbol* pkg_name, |
245 PackageEntry* pkg_entry, |
246 PackageEntry* pkg_entry, |
246 ModuleEntry* mod_entry, |
247 ModuleEntry* mod_entry, |
247 TRAPS); |
248 TRAPS); |
248 static PackageEntry* get_package_entry(Symbol* pkg, |
249 static PackageEntry* get_package_entry(Symbol* pkg, |