Reid Main

24%
Flag icon
Joe Onorato, on the framework team, added the WeakHashMap API. Sort of. He said, “I had this library that depended on WeakHashMap, and I needed to link123 it, so I created a class called WeakHashMap.” The problem was, Joe’s class wasn’t a ‘weak’ HashMap, it was just a standard HashMap. It subclassed HashMap and didn’t add any of the logic that would have made it weak. Sometime later, Jeff Hamilton (also on the framework team) was writing code that needed the functionality of WeakHashMap. He saw that the class existed in the core libraries, used it, and had memory problems that required a lot ...more
Androids: The Team That Built the Android Operating System
Rate this book
Clear rating