You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@submarine.apache.org by GitBox <gi...@apache.org> on 2020/08/18 06:01:26 UTC

[GitHub] [submarine] QiAnXinCodeSafe opened a new issue #381: Double-Checked Locking

QiAnXinCodeSafe opened a new issue #381:
URL: https://github.com/apache/submarine/issues/381


   https://github.com/apache/submarine/blob/3060ef754d26b7d1e514cd0e2836cf55ab5e8ab2/submarine-commons/commons-utils/src/main/java/org/apache/submarine/commons/utils/SubmarineConfiguration.java#L89-L92
   
   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:
users@infra.apache.org



[GitHub] [submarine] jiwq commented on issue #381: Double-Checked Locking

Posted by GitBox <gi...@apache.org>.
jiwq commented on issue #381:
URL: https://github.com/apache/submarine/issues/381#issuecomment-675569708


   @QiAnXinCodeSafe Thanks for your report, I had create one JIRA to track it: https://issues.apache.org/jira/browse/SUBMARINE-604 
   Could you give us your apache jira account id? So that we can change the reporter to you in the Apache JIRA system.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [submarine] jiwq closed issue #381: Double-Checked Locking

Posted by GitBox <gi...@apache.org>.
jiwq closed issue #381:
URL: https://github.com/apache/submarine/issues/381


   


----------------------------------------------------------------
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:
users@infra.apache.org