< prev index next >

src/hotspot/share/classfile/classFileParser.hpp

Print this page

 99   // caller - this allows for internal reuse of ClassFileParser
100   //
101   enum Publicity {
102     INTERNAL,
103     BROADCAST
104   };
105 
106   enum { LegalClass, LegalField, LegalMethod }; // used to verify unqualified names
107 
108  private:
109   // Potentially unaligned pointer to various 16-bit entries in the class file
110   typedef void unsafe_u2;
111 
112   const ClassFileStream* _stream; // Actual input stream
113   Symbol* _class_name;
114   mutable ClassLoaderData* _loader_data;
115   const bool _is_hidden;
116   const bool _can_access_vm_annotations;
117   int _orig_cp_size;
118   unsigned int _static_oop_count;

119 
120   // Metadata created before the instance klass is created.  Must be deallocated
121   // if not transferred to the InstanceKlass upon successful class loading
122   // in which case these pointers have been set to null.
123   const InstanceKlass* _super_klass;
124   ConstantPool* _cp;
125   Array<u1>* _fieldinfo_stream;
126   Array<u1>* _fieldinfo_search_table;
127   Array<FieldStatus>* _fields_status;
128   Array<Method*>* _methods;
129   Array<u2>* _inner_classes;
130   Array<u2>* _nest_members;
131   u2 _nest_host;
132   Array<u2>* _permitted_subclasses;
133   Array<RecordComponent*>* _record_components;
134   Array<InstanceKlass*>* _local_interfaces;
135   Array<InstanceKlass*>* _transitive_interfaces;
136   Annotations* _combined_annotations;
137   AnnotationArray* _class_annotations;
138   AnnotationArray* _class_type_annotations;

 99   // caller - this allows for internal reuse of ClassFileParser
100   //
101   enum Publicity {
102     INTERNAL,
103     BROADCAST
104   };
105 
106   enum { LegalClass, LegalField, LegalMethod }; // used to verify unqualified names
107 
108  private:
109   // Potentially unaligned pointer to various 16-bit entries in the class file
110   typedef void unsafe_u2;
111 
112   const ClassFileStream* _stream; // Actual input stream
113   Symbol* _class_name;
114   mutable ClassLoaderData* _loader_data;
115   const bool _is_hidden;
116   const bool _can_access_vm_annotations;
117   int _orig_cp_size;
118   unsigned int _static_oop_count;
119   unsigned int _nonstatic_oop_count;
120 
121   // Metadata created before the instance klass is created.  Must be deallocated
122   // if not transferred to the InstanceKlass upon successful class loading
123   // in which case these pointers have been set to null.
124   const InstanceKlass* _super_klass;
125   ConstantPool* _cp;
126   Array<u1>* _fieldinfo_stream;
127   Array<u1>* _fieldinfo_search_table;
128   Array<FieldStatus>* _fields_status;
129   Array<Method*>* _methods;
130   Array<u2>* _inner_classes;
131   Array<u2>* _nest_members;
132   u2 _nest_host;
133   Array<u2>* _permitted_subclasses;
134   Array<RecordComponent*>* _record_components;
135   Array<InstanceKlass*>* _local_interfaces;
136   Array<InstanceKlass*>* _transitive_interfaces;
137   Annotations* _combined_annotations;
138   AnnotationArray* _class_annotations;
139   AnnotationArray* _class_type_annotations;
< prev index next >