summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r2476] Added free lists to track various data structures in memory, to ↵Quincey Koziol2000-08-169-67/+160
| | | | | | reduce malloc abuse.
* [svn-r2475] Moved code to insert a new dataset into a group up a few blocks ↵Quincey Koziol2000-08-161-5/+23
| | | | | | of code, to get the metadata allocated in the file more tightly together.
* [svn-r2474] Updated some old variables to the proper names, added seek ↵Quincey Koziol2000-08-162-10/+81
| | | | | | logging and added test code for aggregating metadata into more localized locations in the file.
* [svn-r2472] Combine object header prefix and first object header chunk when ↵Quincey Koziol2000-08-161-20/+55
| | | | possible.
* [svn-r2471] Snapshot version 1.3 release 27HDF Admin2000-08-121-1/+1
|
* [svn-r2470] Changed parameter type from uintn to size_t to clear up some ↵Quincey Koziol2000-08-082-4/+4
| | | | warnings.
* [svn-r2469] Snapshot version 1.3 release 26HDF Admin2000-08-051-1/+1
|
* [svn-r2465] Changed nbytes to an hsize_t type since that's what it holds. ↵Bill Wendling2000-08-041-9/+9
| | | | | | Also, moved it into the if-then statement to limit it's scope.
* [svn-r2464] HGOTO_ERROR was returning NULL instead of FAIL. This was causing ↵Bill Wendling2000-08-041-14/+13
| | | | | | compiler warnings about "implicit cast of pointer to integer" things....
* [svn-r2459] Added public API function (H5set_free_list_limits) to allow ↵Quincey Koziol2000-08-044-12/+116
| | | | | | | | limits to be placed on how much memory is used by the free lists before they are garbage collected. The default is to have no limit, with garbage collection only occurring when they cannot allocate memory.
* [svn-r2454] Took out another unneeded assertion which was causing problems.Quincey Koziol2000-08-011-1/+0
|
* [svn-r2453] Made free-list code garbage collect if it runs out memory during ↵Quincey Koziol2000-08-012-83/+121
| | | | | | | a memory allocation & attempt to allocate the memory once more. Also re-named a bunch of private functions & structures to align with other function names.
* [svn-r2450] Remove asserts on non-existent variables..Quincey Koziol2000-08-011-2/+1
|
* [svn-r2448] Re-did section of hyperslab initialization code to avoid tons of ↵Quincey Koziol2000-07-282-116/+111
| | | | | | realloc() calls. Speeds user's test code up by ~25 times... :-)
* [svn-r2447] Another small calculation optimization.Quincey Koziol2000-07-281-1/+1
|
* [svn-r2446] Some small performance improvements to various allocations and ↵Quincey Koziol2000-07-282-22/+76
| | | | calculations.
* [svn-r2445] Check in initial coding effort for automatically garbage ↵Quincey Koziol2000-07-272-157/+350
| | | | | | | | collecting the free lists. Each kind of list one has hard-coded limits on when to garbage collect, which will be replaced with user-controllable knobs (through property list settings, I think) once I finish debugging some related performance problems.
* [svn-r2444] Checkpoint the Generic Property implementation. It's not active ↵Quincey Koziol2000-07-2510-340/+2642
| | | | | | yet, but it's close. This shouldn't interfere with other development work. (I think.. :-)
* [svn-r2442] Insert better error checking when memory allocation fails (in ↵Quincey Koziol2000-07-251-2/+4
| | | | | | certain obscure situations).
* [svn-r2441] Snapshot version 1.3 release 25HDF Admin2000-07-221-1/+1
|
* [svn-r2429] Snapshot version 1.3 release 24HDF Admin2000-07-081-1/+1
|
* [svn-r2423] Snapshot version 1.3 release 23HDF Admin2000-07-011-1/+1
|
* [svn-r2422] Snapshot version 1.3 release 22HDF Admin2000-07-011-1/+1
|
* [svn-r2410] Changed H5MM_strdup() to H5MM_xstrdup() so we get a core dump soonerRobb Matzke2000-06-231-1/+1
| | | | if allocation fails.
* [svn-r2348] The way the pthread_t object was being initialized wasn't ↵Bill Wendling2000-06-062-13/+26
| | | | | | | | | | | | correct for all platforms. Also, it's not entirely certain that a value of 0 isn't a valid thread ID. So, I changed the pthread_t object to be a pointer to pthread_t with the appropriate memory management this entails. Part of the validity of this approach rests on the fact that one can assign a variable which is a structure to another variable of the same type and all fields within will be copied appropriately...See! C *does* do some things correctly :-).
* [svn-r2345] Fixed a few more places where free'd memory was being inspected.Quincey Koziol2000-06-061-6/+17
|
* [svn-r2344] Fixed a bug where memory was being inspected after being free'd, ↵Quincey Koziol2000-06-061-1/+3
| | | | | | found only in Windows.
* [svn-r2343] *sigh* Corrected H5AC_compare again. (Trying to fix a bug which ↵Quincey Koziol2000-06-061-5/+10
| | | | | | only is manifesting on Windows, so it's a bit of a remote-control problem...)
* [svn-r2342] Updated H5AC_compare function to detect NULL pointers to cached ↵Quincey Koziol2000-06-061-2/+9
| | | | | | objects correctly and also corrected incorrect test in H5AC_flush
* [svn-r2318] Rearranged metadata caching to put caching information in the ↵Quincey Koziol2000-06-0111-145/+183
| | | | | | | | objects being cached instead of in separate structures. This reduces the amount of memory the hash table uses by about half. This is the initial step along the path of speeding up the metadata caching.
* [svn-r2292] Snapshot version 1.3 release 21Albert Cheng2000-05-261-1/+1
|
* [svn-r2286] Gave the threading functions return types (herr_t). pthreads' callsBill Wendling2000-05-192-94/+163
| | | | | | | | | | | | | return 0 on success and non-zero on failure. That's what happens with these calls. There was a problem compiling threading on Linux. The pthread_t type is not consistent among different implementations, so it cannot simply be assigned to NULL or tested against it. I initialize it by calling HDmemset(foo_thread, 0, sizeof(pthread_t)). To see if it's a "null" pthread, I created a special pthread_t object (assigned to only in the init phase and then only read...i.e., thread safe) and assigned it "null" as above. Then I use pthread_equal() to determine if the thread is null.
* [svn-r2285] A \ was needed at the end of one of the definitions to make ↵Bill Wendling2000-05-191-1/+1
| | | | gmake work.
* [svn-r2284] Duplicate initialization of variable removed.Bill Wendling2000-05-191-1/+0
|
* [svn-r2276] Modifed thread-safety code to more closely align with rest of ↵Quincey Koziol2000-05-196-131/+191
| | | | | | HDF5 coding standards.
* [svn-r2272] Updated data structure names to be more in line with HDF5 naming ↵Quincey Koziol2000-05-192-150/+150
| | | | scheme.
* [svn-r2264] Added Thread-safe feature. This is the phase 1 implementationChee-Wai Lee2000-05-186-23/+459
| | | | | | that all HDF5 API functions are protected by a mutex lock. Basically, serialized all API calls. To use it, use configure --enable-threadsafe --with-pthread
* [svn-r2262] * 2000-05-18Robb Matzke2000-05-1813-498/+870
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ** src/H5Tconv.c ** src/H5Tpkg.h ** src/H5Tpublic.h The H5T_conv_struct_opt() function had a design flaw -- it didn't keep information about the stride to use to step through the temporary/background-value buffer and thus nested invocations would clobber each other's temp buffers. This was fixed by splitting the `stride' argument into `buf_stride' and `bkg_stride' arguments for all the conversion functions. THIS IS AN API CHANGE, but users will get a compiler warning when they pass their conversion function pointer to H5Tregister(). ** src/H5T.c ** src/H5Tprivate.h Added a bkg_stride argument to the H5T_convert() definition in order to fix a bug related to the optimized compound datatype conversion function. ** src/H5T.c ** src/H5A.c ** src/H5D.c ** src/H5Ofill.c ** src/H5P.c Added bkg_stride=0 argument to the H5T_convert() calls. ** test/dtypes.c Added a test for the H5T_conv_struct_opt() bug fixed above. ** src/H5FL.c The H5FL_term() function should return non-zero even when it couldn't free all the free lists do to their being used by some other package. When that other package terminates it will return non-zero, causing H5FL_term() to be called again. This fixes some of the `infinite loop closing library' messages. ** tools/pdb2hdf Uses print_version() instead of doing that itself. ** src/H5Ppublic.h Renamed H5Pget_gc_reference() declaration to make it match the definition. ** src/H5FDlog.c Added API tracing macros. Removed `const' qualifier from a `char*' member of a struct which was allocated on the heap. ** src/H5TB.c Added curly braces to a couple deeply-nested `if' statements to make them clearer and to shut up the increadibly stupid and just plain incorrect gcc warning about ambiguous `else'. ** test/titerate.c Removed incomplete initialization in favor of memset() for one auto variable to stop compiler warnings. ** tools/Depencencies Regenerated to remove references to h5dumputil.c
* [svn-r2259] Elena Pourmal2000-05-171-4/+4
| | | | Fixed a typo in the H5Pget_gc_references function name (was H5Pget_gc_reference).
* [svn-r2235] Changed POWER_OF_TWO macro to allow 1 as a valid power of two. ↵Bill Wendling2000-05-091-2/+6
| | | | | | Changed the has_size check accordingly (1 wasn't allowed in the original code).
* [svn-r2225] added __DLL__ in front of the function prototypes. exports the ↵Patrick Lu2000-05-091-17/+17
| | | | | | | functions in the dll. the testhdf5dll projects were not compiling because they didn't know about these functions
* [svn-r2223] Added logging version of sec2 file driver. This is _reallly_ ↵Quincey Koziol2000-05-085-5/+991
| | | | | | | useful for tracking the actual I/O locations and space used in a file during an application.
* [svn-r2221] Brought threaded, balanced binary tree code over from the HDF4 ↵Quincey Koziol2000-05-082-0/+1544
| | | | | | | library and updated it for integrating with the H5 library. I'm thinking about using them for the data-structures in some caching improvements I'm working on.
* [svn-r2220] Added a major error number for TBBT treesQuincey Koziol2000-05-082-1/+3
|
* [svn-r2219] This simplifies the "check for power of 2" in the hashing ↵Bill Wendling2000-05-081-16/+7
| | | | | | | | | function. There was also a subtle bug in the previous code. A valid size of 16K would have been rejected since it was checking for an invalid number. The scheme that replaces it relies on the fact that powers of two and only powers of two have 1 bit set in binary.
* [svn-r2191] Changed hash function for caching to avoid as many hash clashes.Quincey Koziol2000-04-222-30/+16
|
* [svn-r2190] Turned on address sorting when flushing metadata for entire ↵Quincey Koziol2000-04-221-1/+4
| | | | | | | file, which improves performance significantly when lots of metadata I/O occurs when the file closes.
* [svn-r2178] ./src/H5public.hRobb Matzke2000-04-211-1/+1
| | | | | | Added some more #undef's Removed leading hyphen from H5_VERS_SUBRELEASE
* [svn-r2175] Updated API tracing information.Quincey Koziol2000-04-211-1/+1
|
* [svn-r2172] Fixed a few typos in FUNC_ENTER macros and return types that ↵Quincey Koziol2000-04-211-10/+10
| | | | Binh-Minh found.