QiAnXinCodeSafe opened a new issue #160:
URL: https://github.com/apache/royale-compiler/issues/160


   
https://github.com/apache/royale-compiler/blob/6f75df78d08d3c4a7f81a8d25d96b978972ee480/compiler/src/main/java/org/apache/royale/compiler/internal/scopes/ASScopeCache.java#L224-L232
   
   Double-Checked Locking is widely cited and used as an efficient method for 
implementing lazy initialization in a multithreaded environment.
   Unfortunately, it will not work reliably in a platform independent way when 
implemented in Java, without additional synchronization.


----------------------------------------------------------------
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]


Reply via email to