Go to file
John Mainzer 2c58126fdd [svn-r9700] Purpose:
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:
2004-12-22 17:58:00 -05:00
bin [svn-r9699] Purpose: 2004-12-22 00:15:44 -05:00
c++ [svn-r9698] Purpose: Correct typo 2004-12-21 09:28:59 -05:00
config [svn-r9691] Description: 2004-12-18 15:34:25 -05:00
doc [svn-r9674] Purpose: 2004-12-15 18:38:07 -05:00
examples [svn-r9526] Purpose: 2004-11-12 09:16:58 -05:00
fortran [svn-r9684] Purpose: 2004-12-16 21:27:41 -05:00
hl [svn-r9682] Purpose: 2004-12-16 21:22:27 -05:00
pablo [svn-r7424] 2003-08-27 12:04:21 -05:00
perform [svn-r9183] Purpose: New feature 2004-09-01 12:43:30 -05:00
release_docs [svn-r9685] Purpose: 2004-12-17 11:13:45 -05:00
src [svn-r9700] Purpose: 2004-12-22 17:58:00 -05:00
test [svn-r9687] Purpose: 2004-12-17 20:30:34 -05:00
testpar [svn-r9658] Purpose: 2004-12-13 12:00:57 -05:00
tools [svn-r9634] Purpose: 2004-12-07 14:35:51 -05:00
windows [svn-r9663] Purpose: 2004-12-13 20:56:47 -05:00
.autom4te.cfg
aclocal.m4
acsite.m4 [svn-r9644] Purpose: 2004-12-08 15:31:25 -05:00
configure [svn-r9689] Purpose: 2004-12-18 14:02:05 -05:00
configure.in [svn-r9689] Purpose: 2004-12-18 14:02:05 -05:00
COPYING [svn-r8178] 2004-02-10 18:01:33 -05:00
Makefile.dist
Makefile.in [svn-r9644] Purpose: 2004-12-08 15:31:25 -05:00
MANIFEST [svn-r9686] Purpose: 2004-12-17 20:27:30 -05:00
README.txt [svn-r9655] Snapshot version 1.7 release 44 2004-12-12 03:43:51 -05:00

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.