“From the perspective of a class C, an alien method is one whose behavior is not fully specified by C. This includes methods in other classes as well as overrideable methods (neither private nor final) in C itself. Passing an object to an alien method must also be considered publishing that object. Since you can’t know what code will actually be invoked, you don’t know that the alien method won’t publish the object or retain a reference to it that might later be used from another thread.”
Quote by Brian Goetz
Work
Java Concurrency in Practice
Browse quotes and source details for this work. more
Author
You May Also Like
Source: Java Concurrency in Practice
Source: Java Concurrency in Practice
Source: Java Concurrency in Practice
Source: Java Concurrency in Practice
Source: Java Concurrency in Practice
Source: Java Concurrency in Practice
“I built your ego, then shattered it when you revealed your true self.”
Source: Slammed
Source: From Mother to Daughter: Advice and Lessons for a Good Life