这是indexloc提供的服务,不要输入任何密码
Skip to content
This repository was archived by the owner on Mar 4, 2021. It is now read-only.

Conversation

@GeorgeSJWang
Copy link
Contributor

Perhaps, double-checked locking can be used to reduce the overhead of acquiring a lock by first testing "if (jcloudsComputeService == null)", aka the locking criterion, without actually acquiring the lock. Only if the locking criterion check indicates that locking is required does the actual locking logic proceed.

@jeyrschabu jeyrschabu merged commit 95ceab2 into Netflix:master Aug 24, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants