When we redefine classes, we make one attempt to call clean_weak_method_links(). But if the metadata is on the stack, we don't clear it. It seems we could leave stale metadata behind this way. I think we need to have the GC cleanup, clean_weak_klass_links call clean_weak_method_links. Or maybe combine them together into clean_weak_metadata_links.