Skip to content
New issue

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

Optimize REGISTRIES field in AbstractRegistryFactory. #2703

Merged
merged 2 commits into from
Oct 30, 2018

Commits on Oct 29, 2018

  1. modify ConcurrentHashMap to HashMap.这里REGISTRIES在使用的时候都会先加锁,不存在多线程安全的…

    …问题。所以这里建议使用hashmap
    jinhui.zhao committed Oct 29, 2018
    Configuration menu
    Copy the full SHA
    d0758e8 View commit details
    Browse the repository at this point in the history
  2. modify ConcurrentHashMap to HashMap.这里REGISTRIES在使用的时候都会先加锁,不存在多线程安全的…

    …问题。所以这里建议使用hashmap
    jinhui.zhao committed Oct 29, 2018
    Configuration menu
    Copy the full SHA
    1309b11 View commit details
    Browse the repository at this point in the history