< prev index next >

src/hotspot/share/classfile/javaClasses.hpp

Print this page
@@ -237,10 +237,11 @@
    static int _component_mirror_offset;
    static int _name_offset;
    static int _source_file_offset;
    static int _classData_offset;
    static int _classRedefinedCount_offset;
+   static int _reflectionData_offset;
  
    static bool _offsets_computed;
  
    static GrowableArray<Klass*>* _fixup_mirror_list;
    static GrowableArray<Klass*>* _fixup_module_field_list;

@@ -264,11 +265,11 @@
    static void fixup_mirror(Klass* k, TRAPS);
    static oop  create_basic_type_mirror(const char* basic_type_name, BasicType type, TRAPS);
  
    // Archiving
    static void serialize_offsets(SerializeClosure* f) NOT_CDS_RETURN;
-   static void create_scratch_mirror(Klass* k, TRAPS) NOT_CDS_JAVA_HEAP_RETURN;
+   static void create_scratch_mirror(Klass* k, Handle protection_domain, TRAPS) NOT_CDS_JAVA_HEAP_RETURN;
    static bool restore_archived_mirror(Klass *k, Handle class_loader, Handle module,
                                        Handle protection_domain,
                                        TRAPS) NOT_CDS_JAVA_HEAP_RETURN_(false);
  
    static void fixup_module_field(Klass* k, Handle module);

@@ -305,10 +306,14 @@
    static oop  component_mirror(oop java_class);
    static objArrayOop signers(oop java_class);
    static oop  class_data(oop java_class);
    static void set_class_data(oop java_class, oop classData);
  
+   static oop  reflection_data(oop java_class);
+   static void set_reflection_data(oop java_class, oop reflection_data);
+   static bool has_reflection_data(oop java_class);
+ 
    static int component_mirror_offset() { return _component_mirror_offset; }
  
    static oop class_loader(oop java_class);
    static void set_module(oop java_class, oop module);
    static oop module(oop java_class);

@@ -632,11 +637,13 @@
    static void get_stack_trace_elements(int depth, Handle backtrace, objArrayHandle stack_trace, TRAPS);
  
    // For recreating class initialization error exceptions.
    static Handle create_initialization_error(JavaThread* current, Handle throwable);
  
-   // Printing
+   static oop create_exception_instance(Symbol* class_name, TRAPS);
+ 
+     // Printing
    static void print(oop throwable, outputStream* st);
    static void print_stack_trace(Handle throwable, outputStream* st);
    static void java_printStackTrace(Handle throwable, TRAPS);
    // Debugging
    friend class JavaClasses;
< prev index next >