Mercurial > hg > graal-jvmci-8
comparison src/share/vm/oops/instanceKlass.hpp @ 22886:fdde6a70ea85
8046246: the constantPoolCacheOopDesc::adjust_method_entries() used in RedefineClasses does not scale
Summary: optimize the adjust_method_entries functions by using the orig_method_idnum() function
Reviewed-by: coleenp, dcubed
author | sspitsyn |
---|---|
date | Tue, 17 Mar 2015 17:11:14 -0700 |
parents | c4f1e23c4139 |
children | 1a9c5e6e13b7 8cd2e2834c8f |
comparison
equal
deleted
inserted
replaced
22885:367427923e39 | 22886:fdde6a70ea85 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 1997, 2014, 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. |
957 inline Method* method_at_vtable(int index); | 957 inline Method* method_at_vtable(int index); |
958 klassItable* itable() const; // return new klassItable wrapper | 958 klassItable* itable() const; // return new klassItable wrapper |
959 Method* method_at_itable(Klass* holder, int index, TRAPS); | 959 Method* method_at_itable(Klass* holder, int index, TRAPS); |
960 | 960 |
961 #if INCLUDE_JVMTI | 961 #if INCLUDE_JVMTI |
962 void adjust_default_methods(Method** old_methods, Method** new_methods, | 962 void adjust_default_methods(InstanceKlass* holder, bool* trace_name_printed); |
963 int methods_length, bool* trace_name_printed); | |
964 #endif // INCLUDE_JVMTI | 963 #endif // INCLUDE_JVMTI |
965 | 964 |
966 // Garbage collection | 965 // Garbage collection |
967 void oop_follow_contents(oop obj); | 966 void oop_follow_contents(oop obj); |
968 int oop_adjust_pointers(oop obj); | 967 int oop_adjust_pointers(oop obj); |