約93件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 ...

    2日前 -Double-Checked Locking public class Singleton { private static volatile Singleton instance; private Singleton() {} public static Singleton getInstance ...

    ... double-checked locking with volatile, the holder idiom and the enum singleton • How to break a singleton with reflection and serialization, and how to stop ...

    YouTubeCode Silica

    4日前 -Therefore, we've also applied double-checked locking to prevent the creation of multiple instances by different threads. 3. Singleton Beans in Spring. A bean ...

    The Singleton pattern and its thread-safe versions in Java, explained for beginners slide by slide ... double-checked locking 0:12 Holder idiom and enum 0 ...

    YouTubeInterview Prep Hub

    1日前 -How would you implement a thread-safe Singleton? What is double-checked locking? Why is the volatile keyword required in double-checked locking? What problems ...

    4日前 -Double-Checked Locking and volatile. Double-checked locking in Java is a way to create a singleton lazily while acquiring the monitor only on the first call.

    In this 50-second deep dive, we cover: • Why Double-Checked Locking requires ... pattern • How Java Enums prevent Reflection and Serialization attacks ...

    YouTubeJava TechIntrvw

    ... double-checked locking • The thread-safe lazy singleton (holder idiom) • Immutability, thread confinement and ThreadLocal Every concept starts with a real ...

    YouTubeSyntaxPilot

    2日前 -Double-checked locking in a singleton. Why is volatile required? 4. A ThreadLocal variable is causing a memory leak. How? 5. wait vs sleep. Where would each ...