約2,250件1ページ目

日本語のみで絞り込む

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

  • 最終更新日:1年以内
  • 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/4/28 -Double-checked locking checks instance == null twice: once outside the synchronized block to avoid the lock when the instance already exists, and once inside ...

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

    Singleton Design Pattern in Java | Lazy Initialization, Synchronization & Double-Checked Locking · Comments.

    YouTubeThe Curious Coder

    2026/4/9 -Double-checked locking achieves the same result, but it requires volatile and synchronized to be used correctly, which makes it complex. Missing even one ...

    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/7/2 -Double-checked locking reduces the performance overhead by only synchronizing during the first object creation. After the instance exists, threads skip the lock ...

    2026/7/8 -At its core, double-checked locking is a technique that reduces the overhead of acquiring a lock by first checking the condition without synchronization/locking ...

    Singleton Design Pattern in Java explained step-by-step with a real-world example, thread safety, and double-checked locking. In this LLD Lesson 2, ...

    YouTubeLakhani STEM Tutorials

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