< prev index next >

src/hotspot/share/cds/aotConstantPoolResolver.hpp

Print this page
*** 65,10 ***
--- 65,16 ---
  
    static void resolve_string(constantPoolHandle cp, int cp_index, TRAPS) NOT_CDS_JAVA_HEAP_RETURN;
    static bool is_class_resolution_deterministic(InstanceKlass* cp_holder, Klass* resolved_class);
    static bool is_indy_resolution_deterministic(ConstantPool* cp, int cp_index);
  
+   // helper
+   static Klass* resolve_boot_class_or_fail(const char* class_name, TRAPS);
+ 
+   // java/lang/reflect/Proxy caching
+   static void init_dynamic_proxy_cache(TRAPS);
+ 
    static Klass* find_loaded_class(Thread* current, oop class_loader, Symbol* name);
    static Klass* find_loaded_class(Thread* current, ConstantPool* cp, int class_cp_index);
  
    // fmi = FieldRef/MethodRef/InterfaceMethodRef
    static void maybe_resolve_fmi_ref(InstanceKlass* ik, Method* m, Bytecodes::Code bc, int raw_index,

*** 85,10 ***
--- 91,17 ---
  
    static void preresolve_class_cp_entries(JavaThread* current, InstanceKlass* ik, GrowableArray<bool>* preresolve_list);
    static void preresolve_field_and_method_cp_entries(JavaThread* current, InstanceKlass* ik, GrowableArray<bool>* preresolve_list);
    static void preresolve_indy_cp_entries(JavaThread* current, InstanceKlass* ik, GrowableArray<bool>* preresolve_list);
  
+   // java/lang/Class$ReflectionData caching
+   static int class_reflection_data_flags(InstanceKlass* ik, TRAPS);
+   static void generate_reflection_data(JavaThread* current, InstanceKlass* ik, int rd_flags);
+ 
+   // java/lang/reflect/Proxy caching
+   static void trace_dynamic_proxy_class(oop loader, const char* proxy_name, objArrayOop interfaces, int access_flags);
+   static void define_dynamic_proxy_class(Handle loader, Handle proxy_name, Handle interfaces, int access_flags, TRAPS);
  
    // Resolve all constant pool entries that are safe to be stored in the
    // CDS archive.
    static void dumptime_resolve_constants(InstanceKlass* ik, TRAPS);
  
< prev index next >