equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1998, 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. |
377 // to refer to new_method. |
377 // to refer to new_method. |
378 // trace_name_printed is set to true if the current call has |
378 // trace_name_printed is set to true if the current call has |
379 // printed the klass name so that other routines in the adjust_* |
379 // printed the klass name so that other routines in the adjust_* |
380 // group don't print the klass name. |
380 // group don't print the klass name. |
381 bool adjust_method_entry(Method* old_method, Method* new_method, |
381 bool adjust_method_entry(Method* old_method, Method* new_method, |
382 bool * trace_name_printed); |
382 bool* trace_name_printed); |
383 bool check_no_old_or_obsolete_entries(); |
383 bool check_no_old_or_obsolete_entries(); |
384 bool is_interesting_method_entry(Klass* k); |
384 Method* get_interesting_method_entry(Klass* k); |
385 #endif // INCLUDE_JVMTI |
385 #endif // INCLUDE_JVMTI |
386 |
386 |
387 // Debugging & Printing |
387 // Debugging & Printing |
388 void print (outputStream* st, int index) const; |
388 void print (outputStream* st, int index) const; |
389 void verify(outputStream* st) const; |
389 void verify(outputStream* st) const; |
476 // old_methods, replace it with the corresponding new_method. |
476 // old_methods, replace it with the corresponding new_method. |
477 // trace_name_printed is set to true if the current call has |
477 // trace_name_printed is set to true if the current call has |
478 // printed the klass name so that other routines in the adjust_* |
478 // printed the klass name so that other routines in the adjust_* |
479 // group don't print the klass name. |
479 // group don't print the klass name. |
480 void adjust_method_entries(Method** old_methods, Method** new_methods, |
480 void adjust_method_entries(Method** old_methods, Method** new_methods, |
481 int methods_length, bool * trace_name_printed); |
481 int methods_length, bool* trace_name_printed); |
|
482 void adjust_method_entries(InstanceKlass* holder, bool* trace_name_printed); |
482 bool check_no_old_or_obsolete_entries(); |
483 bool check_no_old_or_obsolete_entries(); |
483 void dump_cache(); |
484 void dump_cache(); |
484 #endif // INCLUDE_JVMTI |
485 #endif // INCLUDE_JVMTI |
485 |
486 |
486 // Deallocate - no fields to deallocate |
487 // Deallocate - no fields to deallocate |