We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
测试场景: public void run(String addr,String targetMethod,String className,String version) { GenericService object=null; ApplicationConfig applicationConfig=new ApplicationConfig("job-consumer-application"); RegistryConfig registryConfig=new RegistryConfig(); registryConfig.setAddress(addr); registryConfig.setProtocol("zookeeper"); applicationConfig.setRegistry(registryConfig); ReferenceConfig reference = new ReferenceConfig(); reference.setApplication(applicationConfig); reference.setRegistry(registryConfig); reference.setGeneric(true); reference.setInterface(targetObject); reference.setVersion(version); reference.setCheck(false); object=reference.get(); Object result=null; try { result= object.$invoke(targetMethod, parameterTypes, args); } catch (Throwable e) { e.printStackTrace(); }finally { reference.destroy(); } } 此方法调用后,com.alibaba.dubbo.common.URL依然没有回收 AbstractRegistry的ConcurrentMap<URL, Map<String, List>> notified,这个集合没有remove操作,所以它一直在涨
The text was updated successfully, but these errors were encountered:
let me see
Sorry, something went wrong.
fix apache#6676
84bc880
remove notified item when unsubscribe(#6790)
93d6a08
fix #6676
remove notified item when unsubscribe(apache#6790)
bb9bf71
Successfully merging a pull request may close this issue.
测试场景:
public void run(String addr,String targetMethod,String className,String version) {
GenericService object=null;
ApplicationConfig applicationConfig=new ApplicationConfig("job-consumer-application");
RegistryConfig registryConfig=new RegistryConfig();
registryConfig.setAddress(addr);
registryConfig.setProtocol("zookeeper");
applicationConfig.setRegistry(registryConfig);
ReferenceConfig reference = new ReferenceConfig();
reference.setApplication(applicationConfig);
reference.setRegistry(registryConfig);
reference.setGeneric(true);
reference.setInterface(targetObject);
reference.setVersion(version);
reference.setCheck(false);
object=reference.get();
Object result=null;
try {
result= object.$invoke(targetMethod, parameterTypes, args);
} catch (Throwable e) {
e.printStackTrace();
}finally {
reference.destroy();
}
}
此方法调用后,com.alibaba.dubbo.common.URL依然没有回收
AbstractRegistry的ConcurrentMap<URL, Map<String, List>> notified,这个集合没有remove操作,所以它一直在涨
The text was updated successfully, but these errors were encountered: