211 static klassOop resolve_or_null(symbolHandle class_name, Handle class_loader, Handle protection_domain, TRAPS);
212 // Version with null loader and protection domain
213 static klassOop resolve_or_null(symbolHandle class_name, TRAPS);
214
215 // Resolve a superclass or superinterface. Called from ClassFileParser,
216 // parse_interfaces, resolve_instance_class_or_null, load_shared_class
217 // "child_name" is the class whose super class or interface is being resolved.
218 static klassOop resolve_super_or_fail(symbolHandle child_name,
219 symbolHandle class_name,
220 Handle class_loader,
221 Handle protection_domain,
222 bool is_superclass,
223 TRAPS);
224
225 // Parse new stream. This won't update the system dictionary or
226 // class hierarchy, simply parse the stream. Used by JVMTI RedefineClasses.
227 static klassOop parse_stream(symbolHandle class_name,
228 Handle class_loader,
229 Handle protection_domain,
230 ClassFileStream* st,
231 TRAPS);
232
233 // Resolve from stream (called by jni_DefineClass and JVM_DefineClass)
234 static klassOop resolve_from_stream(symbolHandle class_name, Handle class_loader, Handle protection_domain, ClassFileStream* st, TRAPS);
235
236 // Lookup an already loaded class. If not found NULL is returned.
237 static klassOop find(symbolHandle class_name, Handle class_loader, Handle protection_domain, TRAPS);
238
239 // Lookup an already loaded instance or array class.
240 // Do not make any queries to class loaders; consult only the cache.
241 // If not found NULL is returned.
242 static klassOop find_instance_or_array_klass(symbolHandle class_name,
243 Handle class_loader,
244 Handle protection_domain,
245 TRAPS);
246
247 // If the given name is known to vmSymbols, return the well-know klass:
248 static klassOop find_well_known_klass(symbolOop class_name);
249
250 // Lookup an instance or array class that has already been loaded
|
211 static klassOop resolve_or_null(symbolHandle class_name, Handle class_loader, Handle protection_domain, TRAPS);
212 // Version with null loader and protection domain
213 static klassOop resolve_or_null(symbolHandle class_name, TRAPS);
214
215 // Resolve a superclass or superinterface. Called from ClassFileParser,
216 // parse_interfaces, resolve_instance_class_or_null, load_shared_class
217 // "child_name" is the class whose super class or interface is being resolved.
218 static klassOop resolve_super_or_fail(symbolHandle child_name,
219 symbolHandle class_name,
220 Handle class_loader,
221 Handle protection_domain,
222 bool is_superclass,
223 TRAPS);
224
225 // Parse new stream. This won't update the system dictionary or
226 // class hierarchy, simply parse the stream. Used by JVMTI RedefineClasses.
227 static klassOop parse_stream(symbolHandle class_name,
228 Handle class_loader,
229 Handle protection_domain,
230 ClassFileStream* st,
231 TRAPS) {
232 KlassHandle nullHandle;
233 return parse_stream(class_name, class_loader, protection_domain, st, nullHandle, NULL, THREAD);
234 }
235 static klassOop parse_stream(symbolHandle class_name,
236 Handle class_loader,
237 Handle protection_domain,
238 ClassFileStream* st,
239 KlassHandle host_klass,
240 GrowableArray<Handle>* cp_patches,
241 TRAPS);
242
243 // Resolve from stream (called by jni_DefineClass and JVM_DefineClass)
244 static klassOop resolve_from_stream(symbolHandle class_name, Handle class_loader, Handle protection_domain, ClassFileStream* st, TRAPS);
245
246 // Lookup an already loaded class. If not found NULL is returned.
247 static klassOop find(symbolHandle class_name, Handle class_loader, Handle protection_domain, TRAPS);
248
249 // Lookup an already loaded instance or array class.
250 // Do not make any queries to class loaders; consult only the cache.
251 // If not found NULL is returned.
252 static klassOop find_instance_or_array_klass(symbolHandle class_name,
253 Handle class_loader,
254 Handle protection_domain,
255 TRAPS);
256
257 // If the given name is known to vmSymbols, return the well-know klass:
258 static klassOop find_well_known_klass(symbolOop class_name);
259
260 // Lookup an instance or array class that has already been loaded
|