約1,170件1ページ目

日本語のみで絞り込む

条件を指定して検索しています。すべての条件を解除する

  • 最終更新日:3か月以内
  • 4日前 -In this tutorial, we'll talk about the double-checked locking design pattern. This pattern reduces the number of lock acquisitions by simply checking the ...

    2026/10/23 -Use “Double Checked Locking” to implement singleton design pattern. Example: Double Checked Locking based Java implementation of singleton design pattern.

    2026/10/28 -Double checked locking avoids taking that lock after the instance exists. ... The ID helps Java check whether the class version matches serialized data. It ...

    2026/10/6 -Double-Checked Locking is a pattern used to lazily initialize objects (i.e., upon first access) in multi-threading environments without the risk of subtle ...

    Understand lazy initialization, thread-safe singleton creation, double-checked locking, and enum singletons ... Singleton Design Pattern | Java LLD | Eager ...

    YouTubeProgramming Tutorials

    2026/9/7 -4. Double-Checked Locking (Thread-safe with better performance). This method improves the performance by using a synchronized block when the instance is null.

    2026/10/4 -Thread-safe singleton interview questions are easy to answer incompletely. A candidate writes double-checked locking, adds volatile , and stops.

    2026/11/10 -The double-checked locking example. One classic Java concurrency example combines volatile publication with synchronization. Consider lazy initialization of ...

    2026/10/30 -Partially created objects can be returned by the Double Checked Locking pattern when used in Java. ... This is not possible, if the singleton has to extend a ...

    2026/9/21 -We can avoid such types of the situation by use of double-checked locking. In this approach, we use a synchronized block instead of a synchronized method. We ...