ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Lazy Loading with Aspects
Subject:   beware of lazy loading
Date:   2004-06-28 11:56:12
From:   pk2
your code examples are not thread-safe. here's an article that tells you a bit more on how lazy loading can be dangerous in multi-threaded environments: Double-checked locking and the Singleton pattern

1 to 2 of 2
  1. Russell Miles photo beware of lazy loading
    2004-07-07 06:45:42  Russell Miles | O'Reilly AuthorO'Reilly Blogger [View]

  2. beware of lazy loading
    2004-06-28 11:57:00  pk2 [View]

1 to 2 of 2