YunfengGao opened a new pull request #6917: URL: https://github.com/apache/skywalking/pull/6917
### Fix wrong implementation of "Double-Checked Locking". - [ ] Add a unit test to verify that the fix works. - [x] Explain briefly why the bug exists and how to fix it. Add volatile to avoid only parts fields of DEFAULT_LOADER are visible, reference http://www.cs.umd.edu/~pugh/java/memoryModel/DoubleCheckedLocking.html -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
