< prev index next >

src/hotspot/share/classfile/classFileParser.hpp

Print this page




 516                                 const unsafe_u2** const localvariable_type_table_start,
 517                                 TRAPS);
 518 
 519   void copy_method_annotations(ConstMethod* cm,
 520                                const u1* runtime_visible_annotations,
 521                                int runtime_visible_annotations_length,
 522                                const u1* runtime_invisible_annotations,
 523                                int runtime_invisible_annotations_length,
 524                                const u1* runtime_visible_parameter_annotations,
 525                                int runtime_visible_parameter_annotations_length,
 526                                const u1* runtime_invisible_parameter_annotations,
 527                                int runtime_invisible_parameter_annotations_length,
 528                                const u1* runtime_visible_type_annotations,
 529                                int runtime_visible_type_annotations_length,
 530                                const u1* runtime_invisible_type_annotations,
 531                                int runtime_invisible_type_annotations_length,
 532                                const u1* annotation_default,
 533                                int annotation_default_length,
 534                                TRAPS);
 535 
 536   // lays out fields in class and returns the total oopmap count
 537   void layout_fields(ConstantPool* cp,
 538                      const FieldAllocationCount* fac,
 539                      const ClassAnnotationCollector* parsed_annotations,
 540                      FieldLayoutInfo* info,
 541                      TRAPS);
 542 
 543   void update_class_name(Symbol* new_name);
 544 
 545  public:
 546   ClassFileParser(ClassFileStream* stream,
 547                   Symbol* name,
 548                   ClassLoaderData* loader_data,
 549                   const ClassLoadInfo* cl_info,
 550                   Publicity pub_level,
 551                   TRAPS);
 552 
 553   ~ClassFileParser();
 554 
 555   InstanceKlass* create_instance_klass(bool cf_changed_in_CFLH, const ClassInstanceInfo& cl_inst_info, TRAPS);
 556 
 557   const ClassFileStream* clone_stream() const;
 558 
 559   void set_klass_to_deallocate(InstanceKlass* klass);
 560 
 561   int static_field_size() const;
 562   int total_oop_map_count() const;




 516                                 const unsafe_u2** const localvariable_type_table_start,
 517                                 TRAPS);
 518 
 519   void copy_method_annotations(ConstMethod* cm,
 520                                const u1* runtime_visible_annotations,
 521                                int runtime_visible_annotations_length,
 522                                const u1* runtime_invisible_annotations,
 523                                int runtime_invisible_annotations_length,
 524                                const u1* runtime_visible_parameter_annotations,
 525                                int runtime_visible_parameter_annotations_length,
 526                                const u1* runtime_invisible_parameter_annotations,
 527                                int runtime_invisible_parameter_annotations_length,
 528                                const u1* runtime_visible_type_annotations,
 529                                int runtime_visible_type_annotations_length,
 530                                const u1* runtime_invisible_type_annotations,
 531                                int runtime_invisible_type_annotations_length,
 532                                const u1* annotation_default,
 533                                int annotation_default_length,
 534                                TRAPS);
 535 







 536   void update_class_name(Symbol* new_name);
 537 
 538  public:
 539   ClassFileParser(ClassFileStream* stream,
 540                   Symbol* name,
 541                   ClassLoaderData* loader_data,
 542                   const ClassLoadInfo* cl_info,
 543                   Publicity pub_level,
 544                   TRAPS);
 545 
 546   ~ClassFileParser();
 547 
 548   InstanceKlass* create_instance_klass(bool cf_changed_in_CFLH, const ClassInstanceInfo& cl_inst_info, TRAPS);
 549 
 550   const ClassFileStream* clone_stream() const;
 551 
 552   void set_klass_to_deallocate(InstanceKlass* klass);
 553 
 554   int static_field_size() const;
 555   int total_oop_map_count() const;


< prev index next >