Core Java Concurrency - DZone - Refcardz
Publishing an object is making its reference available outside of the current scope (for example: return a reference from a getter). Ensuring that object is published safely (only when it is fully constructed) may require synchronization. The safe publication could be achieved using:
Read full article from Core Java Concurrency - DZone - Refcardz
No comments:
Post a Comment