On file_handle_cache branch: 
Limit the number of open file handles on a per-process basis instead of
per-cache.

* subversion/libsvn_subr/svn_file_handle_cache.c
  clarify global commentary
  (global_handle_count): new global, shared variable
  (internal_file_open, internal_close_file): update the global counter as well
  (auto_close_oldest): limit handle count against the _global_ counter
  (close_all_handles): new "destructor" to unsure update of the global counter
  (svn_file_handle_cache__create_cache): register destructor

git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/file-handle-cache@1220463 13f79535-47bb-0310-9956-ffa450edef68
1 file changed