src/share/vm/prims/jvmtiRedefineClasses.hpp

changeset 4572
927a311d00f9
parent 4562
8d9fc28831cc
child 4983
15a99ca4ee34
     1.1 --- a/src/share/vm/prims/jvmtiRedefineClasses.hpp	Fri Feb 08 16:56:03 2013 -0800
     1.2 +++ b/src/share/vm/prims/jvmtiRedefineClasses.hpp	Mon Feb 11 14:06:22 2013 -0500
     1.3 @@ -384,11 +384,6 @@
     1.4    jvmtiError compare_and_normalize_class_versions(
     1.5      instanceKlassHandle the_class, instanceKlassHandle scratch_class);
     1.6  
     1.7 -  // Swap annotations[i] with annotations[j]
     1.8 -  // Used by compare_and_normalize_class_versions() when normalizing
     1.9 -  // overloaded methods or changing idnum as when adding or deleting methods.
    1.10 -  void swap_all_method_annotations(int i, int j, instanceKlassHandle scratch_class, TRAPS);
    1.11 -
    1.12    // Figure out which new methods match old methods in name and signature,
    1.13    // which methods have been added, and which are no longer present
    1.14    void compute_added_deleted_matching_methods();
    1.15 @@ -417,6 +412,9 @@
    1.16    void redefine_single_class(jclass the_jclass,
    1.17      Klass* scratch_class_oop, TRAPS);
    1.18  
    1.19 +  void swap_annotations(instanceKlassHandle new_class,
    1.20 +                        instanceKlassHandle scratch_class);
    1.21 +
    1.22    // Increment the classRedefinedCount field in the specific InstanceKlass
    1.23    // and in all direct and indirect subclasses.
    1.24    void increment_class_counter(InstanceKlass *ik, TRAPS);

mercurial