hotspot/src/share/vm/classfile/classFileParser.hpp
changeset 46427 54713555867e
parent 46352 4ece6d1f3f76
child 46504 38048d4d20e7
--- a/hotspot/src/share/vm/classfile/classFileParser.hpp	Wed May 03 02:32:02 2017 +0000
+++ b/hotspot/src/share/vm/classfile/classFileParser.hpp	Fri Mar 03 23:08:35 2017 -0800
@@ -81,6 +81,10 @@
   mutable ClassLoaderData* _loader_data;
   const InstanceKlass* _host_klass;
   GrowableArray<Handle>* _cp_patches; // overrides for CP entries
+  int _num_patched_klasses;
+  int _max_num_patched_klasses;
+  int _orig_cp_size;
+  int _first_patched_klass_resolved_index;
 
   // Metadata created before the instance klass is created.  Must be deallocated
   // if not transferred to the InstanceKlass upon successful class loading
@@ -434,6 +438,7 @@
     return patch;
   }
 
+  void patch_class(ConstantPool* cp, int class_index, Klass* k, Symbol* name);
   void patch_constant_pool(ConstantPool* cp,
                            int index,
                            Handle patch,