diff options
author | Andres Freund <andres@anarazel.de> | 2017-04-04 14:26:42 -0700 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2017-04-04 14:26:42 -0700 |
commit | 490e9a98ff964df95311e2b5a68a15f63bce0cfd (patch) | |
tree | 7c9753b5bd514018aca3c3d6f25cb5d9eaac9d0a /src/backend/access/transam/xlog.c | |
parent | e75a78656bcaa3faff6b85891ca69d45dd21023f (diff) | |
download | postgresql-490e9a98ff964df95311e2b5a68a15f63bce0cfd.tar.gz postgresql-490e9a98ff964df95311e2b5a68a15f63bce0cfd.zip |
Fix two valgrind issues in slab allocator.
During allocation VALGRIND_MAKE_MEM_DEFINED was called with a pointer
as size. That kind of works, but makes valgrind exceedingly slow for
workloads involving the slab allocator.
Secondly there was an access to memory marked as unreachable within
SlabCheck(). Fix that too.
Author: Tomas Vondra
Discussion: https://postgr.es/m/a6543b6d-6015-99b1-63ef-3ed55a76a730@2ndquadrant.com
Diffstat (limited to 'src/backend/access/transam/xlog.c')
0 files changed, 0 insertions, 0 deletions