src/share/vm/classfile/classFileParser.hpp

Print this page




 113                                 objArrayHandle methods_default_annotations,
 114                                 TRAPS);
 115   typeArrayHandle parse_exception_table(u4 code_length, u4 exception_table_length,
 116                                         constantPoolHandle cp, TRAPS);
 117   void parse_linenumber_table(
 118       u4 code_attribute_length, u4 code_length,
 119       CompressedLineNumberWriteStream** write_stream, TRAPS);
 120   u2* parse_localvariable_table(u4 code_length, u2 max_locals, u4 code_attribute_length,
 121                                 constantPoolHandle cp, u2* localvariable_table_length,
 122                                 bool isLVTT, TRAPS);
 123   u2* parse_checked_exceptions(u2* checked_exceptions_length, u4 method_attribute_length,
 124                                constantPoolHandle cp, TRAPS);
 125   void parse_type_array(u2 array_length, u4 code_length, u4* u1_index, u4* u2_index,
 126                         u1* u1_array, u2* u2_array, constantPoolHandle cp, TRAPS);
 127   typeArrayOop parse_stackmap_table(u4 code_attribute_length, TRAPS);
 128 
 129   // Classfile attribute parsing
 130   void parse_classfile_sourcefile_attribute(constantPoolHandle cp, instanceKlassHandle k, TRAPS);
 131   void parse_classfile_source_debug_extension_attribute(constantPoolHandle cp,
 132                                                 instanceKlassHandle k, int length, TRAPS);
 133   u2   parse_classfile_inner_classes_attribute(constantPoolHandle cp,




 134                                                instanceKlassHandle k, TRAPS);
 135   void parse_classfile_attributes(constantPoolHandle cp, instanceKlassHandle k, TRAPS);
 136   void parse_classfile_synthetic_attribute(constantPoolHandle cp, instanceKlassHandle k, TRAPS);
 137   void parse_classfile_signature_attribute(constantPoolHandle cp, instanceKlassHandle k, TRAPS);
 138   void parse_classfile_bootstrap_methods_attribute(constantPoolHandle cp, instanceKlassHandle k, u4 attribute_length, TRAPS);
 139 
 140   // Annotations handling
 141   typeArrayHandle assemble_annotations(u1* runtime_visible_annotations,
 142                                        int runtime_visible_annotations_length,
 143                                        u1* runtime_invisible_annotations,
 144                                        int runtime_invisible_annotations_length, TRAPS);
 145 
 146   // Final setup
 147   unsigned int compute_oop_map_count(instanceKlassHandle super,
 148                                      unsigned int nonstatic_oop_count,
 149                                      int first_nonstatic_oop_offset);
 150   void fill_oop_maps(instanceKlassHandle k,
 151                      unsigned int nonstatic_oop_map_count,
 152                      int* nonstatic_oop_offsets,
 153                      unsigned int* nonstatic_oop_counts);




 113                                 objArrayHandle methods_default_annotations,
 114                                 TRAPS);
 115   typeArrayHandle parse_exception_table(u4 code_length, u4 exception_table_length,
 116                                         constantPoolHandle cp, TRAPS);
 117   void parse_linenumber_table(
 118       u4 code_attribute_length, u4 code_length,
 119       CompressedLineNumberWriteStream** write_stream, TRAPS);
 120   u2* parse_localvariable_table(u4 code_length, u2 max_locals, u4 code_attribute_length,
 121                                 constantPoolHandle cp, u2* localvariable_table_length,
 122                                 bool isLVTT, TRAPS);
 123   u2* parse_checked_exceptions(u2* checked_exceptions_length, u4 method_attribute_length,
 124                                constantPoolHandle cp, TRAPS);
 125   void parse_type_array(u2 array_length, u4 code_length, u4* u1_index, u4* u2_index,
 126                         u1* u1_array, u2* u2_array, constantPoolHandle cp, TRAPS);
 127   typeArrayOop parse_stackmap_table(u4 code_attribute_length, TRAPS);
 128 
 129   // Classfile attribute parsing
 130   void parse_classfile_sourcefile_attribute(constantPoolHandle cp, instanceKlassHandle k, TRAPS);
 131   void parse_classfile_source_debug_extension_attribute(constantPoolHandle cp,
 132                                                 instanceKlassHandle k, int length, TRAPS);
 133   u2   parse_classfile_inner_classes_attribute(u1* inner_classes_attribute_start,
 134                                                bool parsed_enclosingmethod_attribute,
 135                                                u2 enclosing_method_class_index,
 136                                                u2 enclosing_method_method_index,
 137                                                constantPoolHandle cp,
 138                                                instanceKlassHandle k, TRAPS);
 139   void parse_classfile_attributes(constantPoolHandle cp, instanceKlassHandle k, TRAPS);
 140   void parse_classfile_synthetic_attribute(constantPoolHandle cp, instanceKlassHandle k, TRAPS);
 141   void parse_classfile_signature_attribute(constantPoolHandle cp, instanceKlassHandle k, TRAPS);
 142   void parse_classfile_bootstrap_methods_attribute(constantPoolHandle cp, instanceKlassHandle k, u4 attribute_length, TRAPS);
 143 
 144   // Annotations handling
 145   typeArrayHandle assemble_annotations(u1* runtime_visible_annotations,
 146                                        int runtime_visible_annotations_length,
 147                                        u1* runtime_invisible_annotations,
 148                                        int runtime_invisible_annotations_length, TRAPS);
 149 
 150   // Final setup
 151   unsigned int compute_oop_map_count(instanceKlassHandle super,
 152                                      unsigned int nonstatic_oop_count,
 153                                      int first_nonstatic_oop_offset);
 154   void fill_oop_maps(instanceKlassHandle k,
 155                      unsigned int nonstatic_oop_map_count,
 156                      int* nonstatic_oop_offsets,
 157                      unsigned int* nonstatic_oop_counts);