While debugging 6439826, it became clear there is a lot of "thrashing" on Log.useSource. This should be investigated and minimized. At the very least, it might be work keeping a 2-3 element LRU cache of the last few elements used. The cache could use weak references and be flushed by Log.flush. This would save the unnecessary creation of anonymous inner classes to encapsulate the name arg.