1 /* |
1 /* |
2 * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 2014, 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. |
401 void compute_added_deleted_matching_methods(); |
401 void compute_added_deleted_matching_methods(); |
402 |
402 |
403 // Change jmethodIDs to point to the new methods |
403 // Change jmethodIDs to point to the new methods |
404 void update_jmethod_ids(); |
404 void update_jmethod_ids(); |
405 |
405 |
406 // In addition to marking methods as obsolete, this routine |
406 // In addition to marking methods as old and/or obsolete, this routine |
407 // records which methods are EMCP (Equivalent Module Constant |
407 // counts the number of methods that are EMCP (Equivalent Module Constant Pool). |
408 // Pool) in the emcp_methods BitMap and returns the number of |
408 int check_methods_and_mark_as_obsolete(); |
409 // EMCP methods via emcp_method_count_p. This information is |
|
410 // used when information about the previous version of the_class |
|
411 // is squirreled away. |
|
412 void check_methods_and_mark_as_obsolete(BitMap *emcp_methods, |
|
413 int * emcp_method_count_p); |
|
414 void transfer_old_native_function_registrations(instanceKlassHandle the_class); |
409 void transfer_old_native_function_registrations(instanceKlassHandle the_class); |
415 |
410 |
416 // Install the redefinition of a class |
411 // Install the redefinition of a class |
417 void redefine_single_class(jclass the_jclass, |
412 void redefine_single_class(jclass the_jclass, |
418 Klass* scratch_class_oop, TRAPS); |
413 Klass* scratch_class_oop, TRAPS); |