You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
declares the cnonces field volatile offers a much more elegant solution
The text was updated successfully, but these errors were encountered:
launcher/launcher-impl/glassfish/src/main/java/com/sun/web/security/RealmAdapter.java
Lines 511 to 522 in 0339f0b
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.
declares the cnonces field volatile offers a much more elegant solution
The text was updated successfully, but these errors were encountered: