In the course of #26266, it turns out that the ProxyCallbackFilter.equals/hashCode methods are inconsistent and also not as efficient as they could be given the usage scenarios.