summaryrefslogtreecommitdiffstats
path: root/src/H5AC.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2010-02-18 15:02:17 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2010-02-18 15:02:17 (GMT)
commit95223419fbb4232ba0b2cc42b3f7210db9ae4915 (patch)
treecaba948964b8e9c6986cf95fa6faec4dbdc62497 /src/H5AC.c
parent0fb3254237255e8d145be86931c38ef77de02f78 (diff)
downloadhdf5-95223419fbb4232ba0b2cc42b3f7210db9ae4915.zip
hdf5-95223419fbb4232ba0b2cc42b3f7210db9ae4915.tar.gz
hdf5-95223419fbb4232ba0b2cc42b3f7210db9ae4915.tar.bz2
[svn-r18272] Description:
Bring r18271 from trunk to 1.8 branch: Clean up the file closing behavior a little more. Tested on: Mac OS X/32 10.6.2 (amazon) w/debug & production (too minor to require h5committest)
Diffstat (limited to 'src/H5AC.c')
-rw-r--r--src/H5AC.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/H5AC.c b/src/H5AC.c
index 9502517..7f990a3 100644
--- a/src/H5AC.c
+++ b/src/H5AC.c
@@ -751,6 +751,11 @@ H5AC_dest(H5F_t *f, hid_t dxpl_id)
HDassert(f);
HDassert(f->shared->cache);
+#if H5AC_DUMP_STATS_ON_CLOSE
+ /* Dump debugging info */
+ H5AC_stats(f);
+#endif /* H5AC_DUMP_STATS_ON_CLOSE */
+
#if H5AC__TRACE_FILE_ENABLED
if(H5AC_close_trace_file(f->shared->cache) < 0)
HGOTO_ERROR(H5E_CACHE, H5E_SYSTEM, FAIL, "H5AC_close_trace_file() failed.")