commit | 833265fd9defb800dd78d8fea21786c26f80f0a8 | [log] [tgz] |
---|---|---|
author | limpbizkit <limpbizkit@d779f126-a31b-0410-b53b-1d3aecad763e> | Wed May 06 18:14:32 2009 +0000 |
committer | limpbizkit <limpbizkit@d779f126-a31b-0410-b53b-1d3aecad763e> | Wed May 06 18:14:32 2009 +0000 |
tree | 9f178bded054da6895b1f83412c6de6e619791aa | |
parent | e89c49ec2c6c1034ce15e5c7d1a0d4856677eecc [diff] |
patch from mcculls: Rolling back one of the optimizations to avoid leaving garbage behind in a ThreadLocal. The extra reference can cause the thread to strongly hold the injector, which is bad for application unloading. Regrettably, this costs about 12% throughput. Even so, we're still creating almost a million objects per second on my laptop, so we're still good. git-svn-id: https://google-guice.googlecode.com/svn/trunk@940 d779f126-a31b-0410-b53b-1d3aecad763e