Mercurial > hg > truffle
comparison src/share/vm/prims/jvmtiRedefineClasses.cpp @ 12264:b2e698d2276c
8014013: CallInfo structure no longer accurately reports the result of a LinkResolver operation
Summary: Enhance method resolution and resulting data structures, plus some refactoring.
Reviewed-by: twisti, acorn, jrose
author | drchase |
---|---|
date | Fri, 13 Sep 2013 22:38:02 -0400 |
parents | ff2520b97b00 |
children | da051ce490eb |
comparison
equal
deleted
inserted
replaced
12261:2c98370f2611 | 12264:b2e698d2276c |
---|---|
2928 old_method->set_is_old(); | 2928 old_method->set_is_old(); |
2929 } | 2929 } |
2930 for (int i = 0; i < _deleted_methods_length; ++i) { | 2930 for (int i = 0; i < _deleted_methods_length; ++i) { |
2931 Method* old_method = _deleted_methods[i]; | 2931 Method* old_method = _deleted_methods[i]; |
2932 | 2932 |
2933 assert(old_method->vtable_index() < 0, | 2933 assert(!old_method->has_vtable_index(), |
2934 "cannot delete methods with vtable entries");; | 2934 "cannot delete methods with vtable entries");; |
2935 | 2935 |
2936 // Mark all deleted methods as old and obsolete | 2936 // Mark all deleted methods as old and obsolete |
2937 old_method->set_is_old(); | 2937 old_method->set_is_old(); |
2938 old_method->set_is_obsolete(); | 2938 old_method->set_is_obsolete(); |