mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
2c58126fdd
Fix a bug in the cache caused by a slightly over active sanity check. Description: When the #define H5C_DO_SANITY_CHECKS is TRUE, the macro H5C__DLL_PRE_INSERT_SC is executed prior to inserting an entry in the LRU list. The macro performs a variety of sanity checks, and flags an error if any of the checks fail. Prior to this update, the macro used to check to see if the target list had length 1 and size <= 0. The new epoch marker entries used in the age out cache size reduction algorithm have size zero -- making it possible for this sanity check to fail incorrectly. Note that cache sanity checks are disabled in the CVS version of the code, so this bug and bug fix should be invisible unless you are working with the cache, and turn the sanity checks on. Solution: Removed the offending clause in H5C__DLL_PRE_INSERT_SC. Since the size used in the macro is typically a size_t and thus cannot have negative value, there was no point in changing it to "size < 0". Platforms tested: Ran a serial test on heping. Under the circumstances, I didn't feel the need for further testing. Misc. update: |
||
---|---|---|
bin | ||
c++ | ||
config | ||
doc | ||
examples | ||
fortran | ||
hl | ||
pablo | ||
perform | ||
release_docs | ||
src | ||
test | ||
testpar | ||
tools | ||
windows | ||
.autom4te.cfg | ||
aclocal.m4 | ||
acsite.m4 | ||
configure | ||
configure.in | ||
COPYING | ||
Makefile.dist | ||
Makefile.in | ||
MANIFEST | ||
README.txt |
HDF5 version 1.7.45 currently under development Please refer to the release_docs/INSTALL file for installation instructions. ------------------------------------------------------------------------------ This release is almost fully functional for the entire API defined in the documentation, see the RELEASE.txt file in this directory for information specific to this release of the library. The INSTALL file contains instructions on compiling and installing the library. The INSTALL_parallel file contains instructions on installing the parallel version of the library. The INSTALL* files can be found in the release_docs/ directory. Documentation for this release is in the html directory. Start with the "index.html" in that directory. Four mailing lists are currently set up for use with the HDF5 library. hdf5 - For general discussion of the HDF5 library with other users. hdf5dev - For discussion of the HDF5 library development with developers and other interested parties. hdf5announce - For announcements of HDF5 related developments, not a discussion list. hdf5cvs - For checkin notices of code development on the library, not a discussion list. To subscribe to a list, send mail to "majordomo@ncsa.uiuc.edu", with "subscribe <list>" in the _body_, not the Subject, of the message. E.g., subscribe hdf5 Messages to be sent to the list should be sent to "<list>@ncsa.uiuc.edu". Nearly daily code snapshots are now being provided at the following URL: ftp://hdf.ncsa.uiuc.edu/pub/outgoing/hdf5/snapshots Please read the readme file in that directory before working with a library snapshot. The HDF5 website is located at http://hdf.ncsa.uiuc.edu/HDF5/ Bugs should be reported to hdfhelp@ncsa.uiuc.edu.