`public static final synchronized ServiceFactory getInstance() throws SdkInitException { if (serviceFactory != null) { return serviceFactory; } return getInstance(new DefaultConfig()); }` 锁直接加载了方法方法上,高并发下性能会比较差
public static final synchronized ServiceFactory getInstance() throws SdkInitException { if (serviceFactory != null) { return serviceFactory; } return getInstance(new DefaultConfig()); }锁直接加载了方法方法上,高并发下性能会比较差