diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2022-11-03 23:30:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-03 23:30:08 (GMT) |
commit | 018f093c096cca8b3965eb17afa01f5637317995 (patch) | |
tree | 6bd8c321decf7e544dd2dbf86976c51dc8407e92 /release_docs/RELEASE.txt | |
parent | 40a0e3c7b5b30912ddbe4cf58f289575d63fef12 (diff) | |
download | hdf5-018f093c096cca8b3965eb17afa01f5637317995.zip hdf5-018f093c096cca8b3965eb17afa01f5637317995.tar.gz hdf5-018f093c096cca8b3965eb17afa01f5637317995.tar.bz2 |
Removes the memory allocation sanity checks feature (#2218)
* Removes the memory allocation sanity checks feature
* Committing clang-format changes
* Removes zero size checks for H5MM_(c|m)alloc()
* Explicitly return NULL when size == 0 in H5allocate_memory()
* Committing clang-format changes
* Format fix
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'release_docs/RELEASE.txt')
-rw-r--r-- | release_docs/RELEASE.txt | 33 |
1 files changed, 30 insertions, 3 deletions
diff --git a/release_docs/RELEASE.txt b/release_docs/RELEASE.txt index 5945e22..e435cae 100644 --- a/release_docs/RELEASE.txt +++ b/release_docs/RELEASE.txt @@ -47,13 +47,40 @@ New Features Configuration: ------------- - - + - Removal of memory allocation sanity checks configure options + + With the removal of the memory allocation sanity checks feature, the + following configure options are no longer necessary and have been + removed: + + Autotools: + --enable-memory-alloc-sanity-check + + CMake: + HDF5_MEMORY_ALLOC_SANITY_CHECK + HDF5_ENABLE_MEMORY_STATS + (DER - 2022/11/03) Library: -------- - - + - Removal of memory allocation sanity checks feature + + This feature added heap canaries and statistics tracking for internal + library memory operations. Unfortunately, the heap canaries caused + problems when library memory operations were mixed with standard C + library memory operations (such as in the filter pipeline, where + buffers may have to be reallocated). Since any platform with a C + compiler also usually has much more sophisticated memory sanity + checking tools than the HDF5 library provided (e.g., valgrind), we + have decided to to remove the feature entirely. + + In addition to the configure changes described above, this also removes + the following from the public API: + H5get_alloc_stats() + H5_alloc_stats_t + (DER - 2022/11/03) Parallel Library: ----------------- @@ -125,7 +152,7 @@ Bug Fixes since HDF5-1.13.3 release an application or library was built with the C library. Also updated the CMake target link command to use the newer style MPI::MPI_C link variable. - (ADB - 2022/20/27) + (ADB - 2022/10/27) Tools |