hotspot/src/share/vm/oops/klassVtable.hpp
changeset 29316 5287df8a8972
parent 20391 7b146c5ebb18
child 34666 1c7168ea0034
child 35123 b0b89d83bcf5
equal deleted inserted replaced
29198:c1e6bf2dad41 29316:5287df8a8972
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    96   // replace it with the corresponding new_method.
    96   // replace it with the corresponding new_method.
    97   // trace_name_printed is set to true if the current call has
    97   // trace_name_printed is set to true if the current call has
    98   // printed the klass name so that other routines in the adjust_*
    98   // printed the klass name so that other routines in the adjust_*
    99   // group don't print the klass name.
    99   // group don't print the klass name.
   100   bool adjust_default_method(int vtable_index, Method* old_method, Method* new_method);
   100   bool adjust_default_method(int vtable_index, Method* old_method, Method* new_method);
   101   void adjust_method_entries(Method** old_methods, Method** new_methods,
   101   void adjust_method_entries(InstanceKlass* holder, bool * trace_name_printed);
   102                              int methods_length, bool * trace_name_printed);
       
   103   bool check_no_old_or_obsolete_entries();
   102   bool check_no_old_or_obsolete_entries();
   104   void dump_vtable();
   103   void dump_vtable();
   105 #endif // INCLUDE_JVMTI
   104 #endif // INCLUDE_JVMTI
   106 
   105 
   107   // Debugging code
   106   // Debugging code
   286   // if any entry of this itable points to any of old_methods,
   285   // if any entry of this itable points to any of old_methods,
   287   // replace it with the corresponding new_method.
   286   // replace it with the corresponding new_method.
   288   // trace_name_printed is set to true if the current call has
   287   // trace_name_printed is set to true if the current call has
   289   // printed the klass name so that other routines in the adjust_*
   288   // printed the klass name so that other routines in the adjust_*
   290   // group don't print the klass name.
   289   // group don't print the klass name.
   291   void adjust_method_entries(Method** old_methods, Method** new_methods,
   290   void adjust_method_entries(InstanceKlass* holder, bool * trace_name_printed);
   292                              int methods_length, bool * trace_name_printed);
       
   293   bool check_no_old_or_obsolete_entries();
   291   bool check_no_old_or_obsolete_entries();
   294   void dump_itable();
   292   void dump_itable();
   295 #endif // INCLUDE_JVMTI
   293 #endif // INCLUDE_JVMTI
   296 
   294 
   297   // Setup of itable
   295   // Setup of itable