summaryrefslogtreecommitdiffstats
path: root/src/H5AC.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2010-02-18 14:32:44 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2010-02-18 14:32:44 (GMT)
commitc35f840bcd7df2510154d40b6135bbe37d6acfb5 (patch)
treee0181d4a84ea4282d78af08ae8a0cb70e2e2f74d /src/H5AC.c
parent88c692130081999896f690fc2b9b0bf9c3a02d9f (diff)
downloadhdf5-c35f840bcd7df2510154d40b6135bbe37d6acfb5.zip
hdf5-c35f840bcd7df2510154d40b6135bbe37d6acfb5.tar.gz
hdf5-c35f840bcd7df2510154d40b6135bbe37d6acfb5.tar.bz2
[svn-r18271] Description:
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 d377583..98b8e28 100644
--- a/src/H5AC.c
+++ b/src/H5AC.c
@@ -759,6 +759,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.")