summaryrefslogtreecommitdiff
path: root/tools/integrate/Module.java
diff options
context:
space:
mode:
authorJesse Wilson <jessewilson@google.com>2010-04-20 21:34:28 -0700
committerJesse Wilson <jessewilson@google.com>2010-04-20 22:16:25 -0700
commit8baf143a7c8921d07b54adbc66ac1e5b42de5fe6 (patch)
treed77fd218b53603be093f02c30050c23ed0469a47 /tools/integrate/Module.java
parentd4ddeebd24f5786c0d2ec70f5dce724671776c8f (diff)
Rewrite the HTTP connection pool used by HttpURLConnection.
This started off as incremental changes, but it ended up going far enough that it earned the "rewrite" badge. System.getProperty() is not called for every HTTP connection. This is slightly controversial, but the old code had to bend over backwards to support dynamic pool changes, and it didn't even support the case when the pool shrank but not to 0. The new code doesn't do I/O within static synchronized blocks. This should reduce contention described here: http://b/issue?id=2606547 Also: simpify implementation, prettier names, more focused doc.
Diffstat (limited to 'tools/integrate/Module.java')
0 files changed, 0 insertions, 0 deletions