hotspot/src/share/vm/classfile/classFileParser.hpp
changeset 46427 54713555867e
parent 46352 4ece6d1f3f76
child 46504 38048d4d20e7
equal deleted inserted replaced
46426:02a1fc064144 46427:54713555867e
    79   const Symbol* _requested_name;
    79   const Symbol* _requested_name;
    80   Symbol* _class_name;
    80   Symbol* _class_name;
    81   mutable ClassLoaderData* _loader_data;
    81   mutable ClassLoaderData* _loader_data;
    82   const InstanceKlass* _host_klass;
    82   const InstanceKlass* _host_klass;
    83   GrowableArray<Handle>* _cp_patches; // overrides for CP entries
    83   GrowableArray<Handle>* _cp_patches; // overrides for CP entries
       
    84   int _num_patched_klasses;
       
    85   int _max_num_patched_klasses;
       
    86   int _orig_cp_size;
       
    87   int _first_patched_klass_resolved_index;
    84 
    88 
    85   // Metadata created before the instance klass is created.  Must be deallocated
    89   // Metadata created before the instance klass is created.  Must be deallocated
    86   // if not transferred to the InstanceKlass upon successful class loading
    90   // if not transferred to the InstanceKlass upon successful class loading
    87   // in which case these pointers have been set to NULL.
    91   // in which case these pointers have been set to NULL.
    88   const InstanceKlass* _super_klass;
    92   const InstanceKlass* _super_klass;
   432     _cp_patches->at_put(index, Handle());
   436     _cp_patches->at_put(index, Handle());
   433     assert(!has_cp_patch_at(index), "");
   437     assert(!has_cp_patch_at(index), "");
   434     return patch;
   438     return patch;
   435   }
   439   }
   436 
   440 
       
   441   void patch_class(ConstantPool* cp, int class_index, Klass* k, Symbol* name);
   437   void patch_constant_pool(ConstantPool* cp,
   442   void patch_constant_pool(ConstantPool* cp,
   438                            int index,
   443                            int index,
   439                            Handle patch,
   444                            Handle patch,
   440                            TRAPS);
   445                            TRAPS);
   441 
   446